openssl ca

From wikieduonline
Jump to navigation Jump to search

Sample minimal CA application



openssl ca -config intermediate/your_file.cnf -create_serial -batch -in intermediate/csr/subdomain.domain-example.com.csr -out intermediate/certs/subdomain.domain-example.com.cert.pem
Using configuration from intermediate/your_file.cnf
Enter pass phrase for /root/ca/intermediate/private/intermediate.key.pem:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'subdomain.domain-example.com'
Certificate is to be certified until Mar  4 09:21:05 2022 GMT (365 days)

Write out database with 1 new entries
Data Base Updated

Related terms[edit]

See also[edit]

Advertising: