SSL

Cert check

443: https://www.ssllabs.com/ssltest/ non-443: https://www.immuniweb.com/ssl/

https://testssl.sh/testssl.sh

Cryptography

Key exchange or key establishment

https://en.wikipedia.org/wiki/Key_exchange any method in cryptography by which cryptographic keys are exchanged between two parties, allowing use of a cryptographic algorithm.

Diffie–Hellman key exchange (DH) is a method of securely exchanging cryptographic keys over a public channel and was one of the first public-key protocols The D–H key exchange protocol, however, does not by itself address authentication Google Chrome Intent to deprecate DHE-based cipher suites

Public key infrastructures (PKIs) have been proposed as a way around this problem of identity authentication. https://en.wikipedia.org/wiki/Public_key_infrastructure

  • registration authority (RA): assures valid and correct registration. In a Microsoft PKI, a RA is usually called a subordinate CA.

  • An entity must be uniquely identifiable within each certificate authority (CA) domain on the basis of information about that entity. A third-party validation authority (VA) can provide this entity information on behalf of the CA.

cipher or cypher

an algorithm for performing encryption or decryption

A stream cipher is a symmetric key cipher where plaintext digits are combined with a pseudorandom cipher digit stream (keystream). https://en.wikipedia.org/wiki/Stream_cipher#Comparison_of_stream_ciphers

Salsa20 is a stream cipher. Poly1305 is a cryptographic message authentication code (MAC),can be used to verify the data integrity and the authenticity of a message. In NaCl Poly1305 is used with Salsa20 instead of AES, in TLS and SSH it is used with ChaCha20 keystream.

"Networking and Cryptography library"/NaCl (pronounced "salt"): high-speed software library for network communication, encryption, decryption, signatures, etc

Libsodium: a portable, cross-compilable, installable, packageable, API-compatible version of NaCl. macOS, Linux, OpenBSD, NetBSD, FreeBSD, DragonflyBSD, Android, iOS, 32 and 64-bit Windows (Visual Studio, MinGW, C++ Builder), NativeClient, QNX, JavaScript, AIX, MINIX, Solaris

Cryptography libraries compare

https://en.wikipedia.org/wiki/Comparison_of_cryptography_libraries GnuTLS vs libsodium vs NaCL vs OpenSSL vs ...

X.509

https://www.ietf.org/rfc/rfc5280.txt

https://en.wikipedia.org/wiki/X.509 X.509 is a standard that defines the format of public key certificates. used in many Internet protocols, including TLS/SSL, which is the basis for HTTPS contains a public key and an identity (a hostname, or an organization, or an individual)

Certificate Revocation List (or CRL)

"a list of digital certificates that have been revoked by the issuing Certificate Authority (CA) before their scheduled expiration date and should no longer be trusted."

TLS Extensions - Certificate Status Request

https://tools.ietf.org/html/rfc4366#section-3.6 Constrained clients may wish to use a certificate-status protocol such as Online Certificate Status Protocol - OCSP to check the validity of server certificates, in order to avoid transmission of CRLs and therefore save bandwidth on constrained networks. This extension allows for such information to be sent in the TLS handshake, saving roundtrips and resources.

https://en.wikipedia.org/wiki/Online_Certificate_Status_Protocol

Verifying

Certificate formats

https://serverfault.com/questions/9708

PEM Governed by RFCs can have a variety of extensions (.pem, .key, .cer, .cert, more) DER, a binary version of the base64-encoded PEM file. PKCS7 An open standard used by Java (E.g. Tomcat) and supported by Windows. Does not contain private key material. PKCS12, enhanced security versus the plain-text PEM format. can contain private key material.

ECDSA vs RSA

https://blog.cloudflare.com/ecdsa-the-digital-signature-algorithm-of-a-better-internet/ with ECDSA you can get the same level of security as RSA but with smaller keys. legacy browsers may not support

SSL

Private Key

https://info.ssl.com/faq-what-is-a-private-key/ private key is a text file used initially to generate a Certificate Signing Request (CSR), and later to secure and verify connections using the certificate created per that request. The private key is used to create a digital signature As you might imagine from the name.

Let's Encrypt

https://certbot.eff.org/

Wildcard

https://github.com/Neilpang/acme.sh#10-issue-wildcard-certificates

https://community.letsencrypt.org/t/wildcard-domain-step-by-step/58250/4

OpenSSL

PEM (.pem, .crt, .cer) to PFX

https://www.ssl.com/how-to/create-a-pfx-p12-certificate-file-using-openssl/

Mozilla SSL Configuration Generator

https://mozilla.github.io/server-side-tls/ssl-config-generator/

Nginx

SSL

Last updated

Was this helpful?