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

How to enroll a cert using an encrypted private key ? #62

Open
chilcano opened this issue Aug 6, 2016 · 1 comment
Open

How to enroll a cert using an encrypted private key ? #62

chilcano opened this issue Aug 6, 2016 · 1 comment

Comments

@chilcano
Copy link

chilcano commented Aug 6, 2016

Hi there,

I've an encrypted private key by using a passphrase and now i would like to get a certificate.
Is there a parameter or flag to enabled in order to get a certificate without prompting this passphrase from command line?

Regards.

@willsheppard
Copy link

willsheppard commented Oct 24, 2017

I don't know about sscep, but in the general case if you want to automate using a private key, it must not have a passphrase.

Having said that, you can use an "ssh agent" to enter a passphrase manually once, and have it be remembered (again, this is the general case, not specific to sscep).

chris2511 added a commit to chris2511/sscep that referenced this issue Jul 26, 2023
… enroll request

Implement the Openssl syntax according to:
https://www.openssl.org/docs/man3.0/man1/openssl-passphrase-options.html

Enable this feature (and keyboard login) for ENGINE keys.

Removing the passphrase from a software key is sometimes possible,
but removing it from from an ENGINE key is usually impossible.

The OS will drop the allocated memory for the UI_METHOD.
This is a short running app after all.
chris2511 added a commit to chris2511/sscep that referenced this issue Jul 26, 2023
… enroll request

Implement the Openssl syntax according to:
https://www.openssl.org/docs/man3.0/man1/openssl-passphrase-options.html

Enable this feature (and keyboard login) for ENGINE keys.

Removing the passphrase from a software key is sometimes possible,
but removing it from from an ENGINE key is usually impossible.

The OS will drop the allocated memory for the UI_METHOD.
This is a short running app after all.

Signed-off-by: Christian Hohnstaedt <[email protected]>
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

2 participants