server
[!TIP|label:references:]
terminology
extensions
[!TIP|label:references:]
EXTENSION | NAME | DESCRIPTION |
---|---|---|
| Certificate Authority | - |
| Private Key | - |
| Certificate Signing Request | - |
| Certificate | used for certificates, may be encoded as binary DER or as ASCII PEM, usually an X509v3 certificate |
| Certificate | alternate form of .crt (Microsoft Convention), DER encoded or base64[PEM] encoded |
| indicates a base64 encoding with header and footer lines | |
| Certificate Revocation List | defined within the X.509v3 certificate specifications, and this is usually DER encoded |
| PKCS#8 Private Keys | PKCS#8 defines a way to encrypt private keys using |
| PKCS#12 defined key store | commonly password protected. It can contain trusted certificates, private key(s) and their certificate chain(s) |
| 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 |
| 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