What is Hashicorp Vault? Vault is software the provides secure secret management to protect sensitive data and in this article we will be demonstrating how to use vault docker to create and manage a secrets engine. Secrets may be anything from text properties or data to tokens, passwords, X509 … [Read more...] about vault docker – docker compose example with Hashicorp Vault
Keytool import certificate – keytool importcert
What is Java keytool? The Java keytool is a command-line utility used to manage keystores in different formats containing keys and certificates. You can use the java keytool to import a certificate into a keystore. In many respects, the java keytool is a competing utility with openssl for … [Read more...] about Keytool import certificate – keytool importcert
PKCS8 (PKCS #8) format – openssl pkcs8
PKCS8 is the eighth of the Public-Key Cryptography Standards (PKCS) and is a syntax for storing private key material. The private keys may be encrypted with a symmetric key algorithm. If the usage of your key requires it to be in plain text, make sure it is stored in a secured location. If at all … [Read more...] about PKCS8 (PKCS #8) format – openssl pkcs8
openssl s_client commands and examples
The s_client command from OpenSSL is a helpful test client for troubleshooting remote SSL or TLS connections. The post strives to walk you through various examples of testing SSL connections with different ciphers, TLS versions, and SSL server certificate analysis. Testing SSL configuration on … [Read more...] about openssl s_client commands and examples
pkcs12
A pkcs12 keystore is commonly used for both S/MIME User Certificates and SSL/TLS Server Certificates. The keystore may contain both private keys and their corresponding certificates with or without a complete chain. The keystore’s purpose is to store the credential of an identity, being a person, … [Read more...] about pkcs12
openssl genrsa – Generate RSA keys with OpenSSL
Use the openssl genrsa command to generate an RSA private key. The generated RSA private key can be customized by specifying the cipher algorithm and key size. openssl genpkey vs genrsa The openssl genpkey utility has superseded the genrsa utility. While the genrsa command is still valid and … [Read more...] about openssl genrsa – Generate RSA keys with OpenSSL
openssl rand – Generate random numbers and passwords
To generate random bytes with openssl, use the openssl rand utility which is the openssl random number generator. 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 … [Read more...] about openssl rand – Generate random numbers and passwords
Change keystore password with Java keytool
What is Java keytool? The Java keytool is a command-line utility used to manage keystores in different formats containing keys and certificates. You can use the java keytool to change a keystore password, key password, or both. In many respects, it’s a competing utility with openssl for keystore, … [Read more...] about Change keystore password with Java keytool