We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-nokeys
Using -name seems to have no effect when exporting a .pfx file if the private key is not written.
-name
Example: Writing two files.
openssl pkcs12 -export -inkey key.pem -in cert.pem -name "friendly cert" -out withkey.pfx
openssl pkcs12 -export -nokeys -in cert.pem -name "friendly cert" -out nokey.pfx
Checking their content:
openssl pkcs12 -in filename
nokey.pfx does not appear to have bag attributes. The certificate no longer appears to be friendly.
Version:
OpenSSL 3.3.0 9 Apr 2024 (Library: OpenSSL 3.3.0 9 Apr 2024)
The text was updated successfully, but these errors were encountered:
Is this a regression? If you try 3.0.x or 3.1.x versions does this still happen?
Sorry, something went wrong.
There seems to be the same problem with 1.1.1o but I have not tried with a 3.0 or 3.1 version.
1.1.1o
3.0
3.1
No branches or pull requests
Using
-name
seems to have no effect when exporting a .pfx file if the private key is not written.Example:
Writing two files.
Checking their content:
nokey.pfx does not appear to have bag attributes.
The certificate no longer appears to be friendly.
Version:
The text was updated successfully, but these errors were encountered: