I would like to know if it is possible to insert a friendly name in a generated certificate, or in a p7
file. I found that is possible with a p12
file with -name
option, but it seems to be impossible with a certificate or a p7
...
For information, here are my two commands. My goal is to use a java program to extract a certificate in the p7
file, using the friendly name to identify it.
openssl x509 -req -days 365 -in final.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out signedfinal.crt -extensions x509v3
openssl crl2pkcs7 -certfile ca.crt -certfile signedfinal.crt -out file.p7 -nocrl