Posts

Showing posts with the label passphrase

MySQL 5.7.x reset 'root' password

Image
In this post I'll describe how can we set MySQL root password that was blank during the initial installation process. I'll describe end-to-end installation of MySQL database on a linux machine followed by resetting the root password. Environment OS Ubuntu Linux 18.04 MySQL 5.7.x JDK 1.8.x A. MySQL Installation Process 1. First, update the apt package index by typing (with sudo privileges): root@srv1:~# sudo apt update 2. Then install the MySQL package with the following command: root@srv1:~# sudo apt install mysql-server 3. Once the installation is completed, the MySQL service will start automatically. To check whether the MySQL server is running, type: root@srv1:~# sudo systemctl status mysql ● mysql.service - MySQL Community Server    Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)    Active: active (running) since Fri 2020-03-20 07:29:27 UTC; 17min ago   Process: 1649 ExecStart=/usr/sb...

Oracle Weblogic Server importing SSL keys

Image
In this post I'll share about commands that can be used to check/list/delete SSL certificates on your Weblogic Server. List All SSL Keys [ Syntax-  keytool -list -keystore <PATH_CERTS>  ] For JRE Location [root@eissdev01 oracle]#  keytool -list -keystore /usr/java/jdk1.8.0_181-amd64/jre/lib/security/cacerts For ORACLE_HOME> cacerts Location [root@eissdev01 oracle]#  keytool -list -keystore  /u01/oracle/products/OIG_HOME/wlserver/server/lib/cacerts For ORACLE_HOME >> DemoTrust.jks Location [root@eissdev01 oracle]#  keytool -list -keystore  /u01/oracle/products/OIG_HOME/wlserver/server/lib/DemoTrust.jks Importing SSL Keys [ Syntax-  keytool -import -alias <ALIAS_NAME> -keystore <CACERTS_PATH> -file <*.CER CERTIFICATE_PATH>  ] [root@eissdev01 oracle]#  keytool -import -alias mpowerGEOTRUST -keystore /usr/java/jdk1.8.0_181-amd64/jre/lib/security/cacerts -file /home/ora...