Difference between revisions of "Openssl ca"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
sample minimal CA application
+
{{lowercase}}
 +
Sample minimal CA application
  
 +
 +
* <code>[[openssl ca -config]] .../...</code>
 +
* <code>openssl ca -create_serial -batch .../...</code>
 +
 +
 +
 +
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 ==
 
== Related terms ==
 
* <code>[[openssl verify]]</code>
 
* <code>[[openssl verify]]</code>
 +
* <code>[[openssl genrsa]]</code>
 +
* [[.pem]]
  
 
== See also ==
 
== See also ==

Latest revision as of 10:44, 6 September 2021

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: