Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for PEM Passphrase #273

Closed
stevendore opened this issue Jun 15, 2018 · 0 comments
Closed

Support for PEM Passphrase #273

stevendore opened this issue Jun 15, 2018 · 0 comments

Comments

@stevendore
Copy link

stevendore commented Jun 15, 2018

I was helping a client set up Hitch and their .pem file was passphrase protected. This caused an issue with starting Hitch,

... systemd[1]: Starting hitch…
... hitch[40030]: Trying to initialize SSl contexts with your certificates.
... hitch[40030]: Enter PEM pass phrase:
... hitch[40030]: {core} PEM_read_bio_PrivateKey: error: 096406D: PEM routines: PEM_def_callba...ssword
... Systemd[1]: hitch.service control process exited, code=exited status=1
... Systemd[1]:failed to start hitch.
... Systemd[1]: Unit hitch.service failed.

A picture of the output can be seen here.

After speaking with @daghf he concluded PEM passphrase was not supported but offered a solution to remove the passphrase as long as the pem file contained the passphrase bit.

openssl rsa -in [file1.key] -out [file2.key]

Is it possible to add PEM passphrase to Hitch or to better communicate this in the docs?

I did notice it mentioned here but nothing came of the PR.

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

No branches or pull requests

1 participant