Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

How to give stud the right cert/pem #110

Open
hdavy2002 opened this issue Jul 16, 2012 · 1 comment
Open

How to give stud the right cert/pem #110

hdavy2002 opened this issue Jul 16, 2012 · 1 comment

Comments

@hdavy2002
Copy link

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.

@alexnj
Copy link

alexnj commented Sep 11, 2012

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants