我正在尝试使用此处提供的解决方案生成 S/MIME 证书: https ://serverfault.com/questions/103263/can-i-create-my-own-s-mime-certificate-for-email-encryption 解决方案:
openssl genrsa -des3 -out smime.key 4096
openssl req -new -key smime.key -out smime.csr
openssl x509 -req -days 365 -in smime.csr -CA ca.crt -CAkey ca.key -set_serial 1 -out smime.crt -setalias "Self Signed SMIME" -addtrust emailProtection -addreject clientAuth -addreject serverAuth -trustout
openssl pkcs12 -export -in smime.crt -inkey smime.key -out smime.p12
我也想提供用于签署 mime 数据的凭据。我怎么可能做到这一点?任何帮助将非常感激。