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
SSH Key Generation
The ssh-keygen utility is used for ssh key generation. This post will walk you through how to generate a new ssh key, configure its use, and use it for authentication against the hosts or systems you need to authenticate to. At the end we will walk through how to test ssh key and password … [Read more...] about SSH Key Generation
Java read private key from file
This article will demonstrate how to in Java read private key from file. Let us assume that you have a pem encoded RSA private key in a file that you want to load into the Java PrivateKey object. The first two steps are for generating a private key and storing it in a file. Skip to step 3 if you … [Read more...] about Java read private key from file
Python Database Connector
The purpose of this article is to demonstrate how to use a Python Database Connector to both read and write data to an Oracle database. The concept is the same for any Database Management System (DBMS) you are using, but the drivers will be different. This article will go over the steps required to … [Read more...] about Python Database Connector
How to run a Java process in Docker
The purpose of this article is to demonstrate how to run a Java process in Docker. Java can be developed in congruence with a number of frameworks, but that isn't necessary in every case. Out of the box Java supports the execution of a scheduled task with just a packaged jar (Java archive) file. To … [Read more...] about How to run a Java process in Docker
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
Import keystore into another keystore 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 import a keystore into another keystore. In many respects, the java keytool is a competing utility with openssl for … [Read more...] about Import keystore into another keystore with Java keytool
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