commandos openssl
-set_serial 0x1
openssl genrsa -out CHPR-ACRAIZ.pem -passout pass:123456 2048
openssl req -x509 -key CHPR-ACRAIZ.pem -out CERTAA-ACRAIZ.pem -config acmg_conf.txt -passin pass:123456 -new -batch -verbose
openssl x509 -inform PEM -in CERTAA-ACRAIZ.pem -text | more
openssl req -x509 -key CHPR-ACRAIZ.pem -config acmg_conf6.txt -passin pass:123456 -new -batch -verbose -text -days 3652
openssl x509 -inform PEM -outform DER -in CERTAA-ACRAIZ2.pem | dumpasn1.exe - | more
openssl ca -extensions ACIOMG -days 1826 -keyfile %s -in %s -out %s -notext -passin pass:%s -config ./config/ac.cnf -cert ./uso/CERT-ACRAIZ.pem -batch
openssl pkcs12 -export -inkey chave-ufmg.pem -in cert-ufmg-aa.pem > chave-ufmg-890.pfx
<< Home