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 list the contents a keystore. In many respects, the java keytool is a competing utility with openssl for keystore, key, … [Read more...] about keytool list certs – How to list contents of a keystore
Java for loop
Learn how to program with the java for loop to iterate over Collections of Lists, Streams, and Arrays and the syntax for each version of the for loop. For the complete list of java code examples, visit our GitHub Repo. Java for loop examples For each example below, assume an input of the … [Read more...] about Java for loop
PKI Glossary (Public Key Infrastructure) of terms
A PKI Glossary of terms and definitions covering some of the most common topics in a Public Key Infrastructure. Short PKI Glossary: PKI - A public key infrastructure provides a way to encrypt the web with digital certificates and manage the life cycle of the certificates, including enrollment, … [Read more...] about PKI Glossary (Public Key Infrastructure) of terms
PKIjs – JavaScript PKI
PKIjs is a JavaScript PKI (Public Key Infrastructure) library used for decoding and parsing SSL certificates directly on the client or browser, eliminating in many cases the need to do this work on the server side. PKIjs is built on top of the Web Cryptography API. The PKIjs library goes almost hand … [Read more...] about PKIjs – JavaScript PKI
openssl verify – Verify a certificate and certificate chain
Use the openssl verify function to verify a certificate chain. openssl verify certificate chain To verify a certificate and its chain for a given website, run the following command: openssl verify -CAfile chain.pem www.example.org.pem Where -CAfile chain.pem is the downloaded … [Read more...] about openssl verify – Verify a certificate and certificate chain
PKCS7
Introduction to PKCS7 What is PKCS7? It is a standard in the "Public Key Cryptography Standards" used as a cryptographic message syntax and as a format for an X.509 certificate and corresponding chain. A PKCS7 certificate can be formatted as both PEM and DER. For a deep dive, check out RFC … [Read more...] about PKCS7
Java encryption – Encryption with Java
Java encryption can be achieved in many different ways and methods and also with third party libraries and dependencies. This article will attempt to dive in a few of these areas, and will hopefully increase your knowledge of encryption with java. The examples are all at our github repo. … [Read more...] about Java encryption – Encryption with Java
openssl rand – Generate random numbers and passwords
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