Use the openssl verify command to verify a certificate chain, certificate, CRL, and matching key pairs. If you work with TLS certificates, private keys, intermediate certificates, and trust chains, understanding how to use OpenSSL to verify certificates is one of the most useful troubleshooting … [Read more...] about OpenSSL Verify: Certificate, Chain, CRL, and Key Examples
How to Install Keytool on Windows, Ubuntu, RHEL, and Rocky Linux
The Java keytool is a command line utility provided with Java, and this article will guide you through the process of how to install keytool on both Windows and Linux. Keytool is used to manage keystores, symmetric and asymmetric keys, and certificates. Many applications and application servers use … [Read more...] about How to Install Keytool on Windows, Ubuntu, RHEL, and Rocky Linux
keytool -list: Use keytool to List Certificates and in a Java Keystore
The keytool list ( keytool -list ) command displays the contents of a Java keystore. It is used to inspect certificates stored in JKS or PKCS12 files and verify: If you are managing HTTPS in Java, importing a certificate, renewing a certificate, or debugging a TLS issue, keytool -list is … [Read more...] about keytool -list: Use keytool to List Certificates and in a Java Keystore
Apereo CAS Jasypt
This article will demonstrate how to in Apereo CAS use Jasypt for encryption and decryption operations with CAS properties and secrets. Apereo CAS is an open source IDP (Identity Provider) that supports various authentication protocols including CAS, SAML, and OIDC. Jasypt is a java library … [Read more...] about Apereo CAS Jasypt
Change Java Heap Size
This article will detail what the java heap is and how to change java heap size. If you continually run out of heap memory you should consider increasing the amount of heap size your jvm (Java Virtual Machine) is utilizing. A heap dump contains all of the objects that are in use in the JVM. In … [Read more...] about Change Java Heap Size
java keystore pkcs12 legacy
This article will detail how to troubleshoot and correct the java keystore pkcs12 legacy issues with keystores generated with newer cryptographic algorithms and older versions of Java. If you have encountered these issues with OpenSSL instead of the Java keytool, read our article specifically for … [Read more...] about java keystore pkcs12 legacy
openssl pkcs12 legacy
With OpenSSL v3.x, newer cryptographic algorithms are used that may not be supported in older versions of Java, Windows, etc and will require the openssl pkcs12 legacy option. The -legacy option is useful and even required when creating a pkcs12 keystore for use in older operating systems and … [Read more...] about openssl pkcs12 legacy
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