You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Info dump from “openssl pkcs12 -info -in /tmp/my-certificate.p12” shows that the certificate is generated with:
MAC: sha256, Iteration 2048
MAC length: 32, salt length: 8
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:
MAC: sha1, Iteration 1
MAC length: 20, salt length: 8
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:
ravinderrana
changed the title
Issue with certificates created using OpenSSL::PKCS12 and imported on macOS devices
Issue imporitng certificates created using OpenSSL::PKCS12 on macOS devices
Jul 24, 2023
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: