How to give stud the right cert/pem
Greetings, I am a newbee. I cannot figure the commands out. This is what I am giving stud.
root@302261:/keys# stud -b 192.168.1.12,3128 -f almostnatural.us,8443 /keys/almostnatural_us.pem
In the keys folder, I have:
root@302261:/keys# ls almostnatural_us.ca almostnatural_us.pem myserver.key
When I execute it, I get: root@302261:/keys# stud -b 192.168.1.12,3128 -f almostnatural.us,8443 /keys/almostnatural_us.pem 3074111112:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: ANY PRIVATE KEY 3074111112:error:140B3009:SSL routines:SSL_CTX_use_RSAPrivateKey_file:PEM lib:ssl_rsa.c:587:
I am sure, I am doing everything wrong.
Judging from the age of this issue, I'm quite sure you'd have this figured out by now. However, the error you are facing seems to be the PEM missing the private key. Try appending the contents of the key file to your PEM; it should work.