OpenSSL .pfx export private.key

https://slproweb.com/products/Win32OpenSSL.html

Win64 OpenSSL v1.1.1g

C:\Program Files\OpenSSL-Win64\bin\openssl.exe

OpenSSL> pkcs12 -in filename.pfx -nocerts -out key.pem

Enter Import Password:
Enter PEM pass phrase:
Verifying – Enter PEM pass phrase:

OpenSSL> rsa -in key.pem -out server.key

vCenter cron job not work

Find the top 10 for the large files in /var
du -a /var | sort -n -r | head -n 10

If below log too large we can clean it without delete
/var/log/audit/audit.log
truncate -s 0 audit.log

Check the cron job last run date
ls -l /var/spool/cron/lastrun/

Maybe root password expired
chage -l root
chage -m 0 -M 99999 root

Clean old password remember
true > /etc/security/opasswwd

tomcat SSL

conf/server.xml

<Connector
protocol=”org.apache.coyote.http11.Http11NioProtocol”
port=”8443″ maxThreads=”200″
scheme=”https” secure=”true” SSLEnabled=”true”
keystoreFile=”conf/cert/xxx.pfx” keystorePass=”xxx”
keystoreType=”PKCS12″
clientAuth=”false” sslProtocol=”TLS”/>