server
[!TIP|label:references:]
terminology
extensions
[!TIP|label:references:]
.ca
Certificate Authority
-
.key
Private Key
-
.csr
.req
.p10
Certificate Signing Request
-
.crt
Certificate
used for certificates, may be encoded as binary DER or as ASCII PEM, usually an X509v3 certificate
.cer
Certificate
alternate form of .crt (Microsoft Convention), DER encoded or base64[PEM] encoded
.crl
Certificate Revocation List
defined within the X.509v3 certificate specifications, and this is usually DER encoded
.p8
.pkcs8
PKCS#8 Private Keys
PKCS#8 defines a way to encrypt private keys using
.p12
.pfx
PKCS#12 defined key store
commonly password protected. It can contain trusted certificates, private key(s) and their certificate chain(s)
.p7b
.p7c
PKCS#7/CMS message
it is often used as a way to handle the certificates which make up a 'chain' or 'bundle' as a single
jks
Java Key Store
Java Key Store (JKS) is a repository of security certificates, either authorization certificates or public key certificates, plus corresponding private keys, used for instance in SSL encryption.
symmetric encryption
3DES
AES
asymmetric encryption
RSA
DSA
ECC
ECDSA
Hash Algorithms
MD5
SHA-1
SHA-2
SHA-3
certs
generate csr
[!NOTE|label:references:]
or generate key and csr in one command
sign the csr
[!TIP|label:references:]
nginx configure
[!NOTE|label:references:]
modify/create nginx configure
test and reload
usage
show content
certificate request ( csr )
certificate ( pem, crt, cer )
convert
[!NOTE|label:references:]
frmo cer
to crt
to pem
from a pkcs#12 ( .pfx/.p12 )
[!NOTE|label:references:]
to pem
from crt
[!NOTE|label:references:]
to pem
from certificate
to certificate request
convert from windows certmgr.msc
certmgr.msc
win + r ->
certmgr.msc
Certifacts - Current User
->Trusted Root Certification Authorities
->Certificates
-> the wanted CAright-click ->
open
or double-clickDetails
->Copy to File...
Certificate Export Wizard ->
Next
convert to crt
DER encoded binary X.509 (.CER)
Base-64 encoded X.509 (.CER)
Cryptographic Message Syntax Standard - PKCS #7 Certificates (.P7B)
[!NOTE|label:references:]
[!NOTE|label:references:]
Last updated