The Java keytool is a command line utility provided with each installation of Java, and this article will guide you through the process of a keytool install in both WIndows and Linux. Keytool is used to manage keystore, symmetric asymmetric (public/private) keys, and certificates. Many applications … [Read more...] about How to Install Keytool
keytool list certs – How to list contents of a keystore
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
openssl verify – Verify a certificate and certificate chain
Use the openssl verify function to verify a certificate chain. To verify a certificate chain you must first get the certificate chain to verify against. After it is all said and done, the examples in this article should have you well on your way to using OpenSSL to verify a certificate chain, … [Read more...] about openssl verify – Verify a certificate and certificate chain
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