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

How to give stud the right cert/pem #110

Open

Description

@hdavy2002

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.

Activity

  1. alexnj commented on Sep 11, 2012

    @alexnj

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions