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
Run openssl req -nodes -x509 -days 1825 -newkey rsa:2048 -keyout test.key -out test.crt to generate a test certificate
Run openssl pkcs12 -export -out test.pk12 -inkey test.key -in test.crt -certfile test.crt to bundle the certificate and the private key
Run pk12util -i test.pk12 -d certutil-db -h LocalHSM -n test-cert to upload the certfiicate and private key bundle (this required setting the configuration enable_set_attribute_value to be set to true.
Run certutil -L -d certutil-db/ -h LocalHSM -> not certificate is listed
Run certutil -L -d certutil-db/ -h all -> the certificate is listed for some reason.
The text was updated successfully, but these errors were encountered:
To reproduce, from the folder of the repo:
certutil-db
folderpkcs11.txt
:openssl req -nodes -x509 -days 1825 -newkey rsa:2048 -keyout test.key -out test.crt
to generate a test certificateopenssl pkcs12 -export -out test.pk12 -inkey test.key -in test.crt -certfile test.crt
to bundle the certificate and the private keypk12util -i test.pk12 -d certutil-db -h LocalHSM -n test-cert
to upload the certfiicate and private key bundle (this required setting the configurationenable_set_attribute_value
to be set totrue
.certutil -L -d certutil-db/ -h LocalHSM
-> not certificate is listedcertutil -L -d certutil-db/ -h all
-> the certificate is listed for some reason.The text was updated successfully, but these errors were encountered: