Skip to content

Can't find SSL key  #815

Closed
Closed

Description

@ricklyman

re: https://stackoverflow.com/questions/10175812/how-to-create-a-self-signed-certificate-with-openssl

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -subj '/CN=localhost'
Generating a 4096 bit RSA private key
..................................................................................++
................................++
writing new private key to 'key.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----

Error message: Can't find SSL key

Q. Is a different file name expected? or?

Activity

  1. ricklyman commented on Oct 1, 2018

    @ricklyman
    Author

    Also: bash: /bin/solid-test: No such file or directory

  2. FrancisVila commented on Nov 2, 2018

    @FrancisVila

    I have the same message
    ERROR Can't find SSL key in ./keys
    (I specified keys as the folder containing keys, when doing solid init). I have .pem files, .ppk files, .pub files...
    I used the following commands:

    • openssl genrsa -out privkey.pem 4096
    • openssl ssh-keygen -t rsa -b 4096 -f privkey.pem
    • ssh-keygen -t rsa -b 4096 -f privkey.pem
    • openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

    I also created a key pair with puttygen, then converted the .ppk file to a .pem file, as indicated here: https://aws.amazon.com/premiumsupport/knowledge-center/convert-pem-file-into-ppk/

    Here's the list of files I have now in my folder:
    .rnd
    cert.pem
    key.pem
    privkey.pem
    privkey.pem.pub
    solid.pem
    solid.ppk
    solid.pub

  3. dmitrizagidulin commented on Nov 2, 2018

    @dmitrizagidulin
    Contributor

    @FrancisVilaAxway Solid init (and config.json) require a path to an individual file (not just the directory), so I suspect that's the issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions