-
Notifications
You must be signed in to change notification settings - Fork 172
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
Issue imporitng certificates created using OpenSSL::PKCS12 on macOS devices #654
Comments
Found similar issue reported for one of Python's cryptography package There they've added support to set different PBES choices as well as set KDF rounds and MAC algorithm. Here's the relevant PR Not sure if we need similar approach here or if there is any alternative that we can go with. |
The issue is with RC2. Please see #611. |
This issue doesn't seem to be resolved. Here's what we created using the legacy provider:
It uses sha256 instead of sha1. |
Hi!
Am having issue with certificates created using OpenSSL::PKCS12 which need to be installed on macOS devices.
Code:
Info dump from “openssl pkcs12 -info -in /tmp/my-certificate.p12” shows that the certificate is generated with:
Seems macOS have issues with hash function HMAC and only SHA1 is supported. Using older version of either Ruby's OpenSSL gem (tested with 2.1.4) or older System's OpenSSL version (Tested with OpenSSL 1.1.1f 31 Mar 2020) seems to work as it generates certificate with:
Following didn't worked as well:
What should we use to generate the certificate with MAC as SHA1 and iteration 1. Any help will be highly appreciated.
The text was updated successfully, but these errors were encountered: