To generate random bytes with openssl, use the openssl rand utility. This utility utilizes a CSPRNG, a cryptographically secure pseudo-random number generator. As of v1.1.1, openssl will use a trusted entropy source provided by the operating system to seed itself from eliminating the need for the … [Read more...] about openssl rand – Generate random numbers and passwords
openssl passwd
The openssl passwd command can be used to compute password hashes. openssl passwd examples To compute the password hash without a salt, run the following command: openssl passwd -crypt password To compute a salted password hash, run the following command using the crypt algorithm (which … [Read more...] about openssl passwd
openssl ca
The openssl ca command and utility is a lightweight piece of software that can be used to perform minimal CA (Certification Authority) functions. The command can sign and issue new certificates including self-signed Root CA certificates, generate CRLs (Certificate Revocation Lists), and other CA … [Read more...] about openssl ca
OCSP (Online Certificate Status Protocol)
The OCSP, or Online Certificate Status Protocol, is a protocol designed to deliver the revocation status of an X.509 SSL or TLS certificate. In theory, it is more performant than its CRL (Certificate Revocation List) alternative. Responses are required to be delivered by the CA (Certification … [Read more...] about OCSP (Online Certificate Status Protocol)
openssl list
The openssl list command and utility is used to show supported algorithms and features as well as algorithms and features that have been disabled. openssl list may be used across various operating systems and versions to display supported features as well as disabled features. To display a list … [Read more...] about openssl list
openssl ec
The openssl ec command and utility can be used to process your EC (Elliptic Curve) keys. This article will walk you through examples on processing EC keys with the openssl ec utility as well as the openssl ecparam utility. An EC private key header and footer is formatted as follows: This … [Read more...] about openssl ec
openssl dsa
What is DSA? DSA is short for Digital Signature Algorithm, an asymmetric digital signature algorithm used primarily for digital signatures and this article will use the openssl dsa utility to demonstrate its use. DSA like RSA can be used for both digital signatures and encryption, but is primarily … [Read more...] about openssl dsa
python requests authentication
python requests authentication provides multiple mechanisms for authentication to web service endpoints, including basic auth, X.509 certificate authentication, and authentication with a bearer token (JWT or OAuth2 token). This article will cover the basic examples for authenticating with each of … [Read more...] about python requests authentication