Posts
Rahul Chandna
Cancel

Description from man page The s_time command implements a generic SSL/TLS client which connects to a remote host using SSL/TLS. It can request a page from the server and includes the ...

$ openssl passwd -1 "password text" $1$UYbKFuQM$LKpXxnL312ziKrKO9lmPG0

Make directory for extra certs $ sudo mkdir /usr/share/ca-certificates/extra Incase of pem file convert it to cer $ openssl x509 -in root.pem -inform PEM -out root.crt copy your ce...

Watch Explanation on YouTube how to view website ssl certificate dns entires using openssl Link URL : https://youtu.be/HF5iLlQ_hA8 split DNS entries using new line $ echo |openssl s_client ...

Use lspci to get all devices and then grep to filter result $ lspci -vnn | grep VGA 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7550M/75...

extract and save certificate to a file $ echo | openssl s_client -showcerts -connect google.com:443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/cert.crt

Watch Explanation on YouTube how to extract website certificate expiry date using openssl command Link URL : https://youtu.be/VQ52F2pOHjs using openssl dates flag $ echo | openssl s_client ...

Generate private key $ openssl genrsa -out my_private_key.key 2048 Generate public key $ openssl rsa -in my_private_key.key -pubout my_public_key.key Check private key $ openssl ...

Create new keystore $ keytool -genkey -noprompt -alias investec -validity 365 -dname "CN=website.domain.com, OU=My_Website, O=MY_ORG, L=Johannesburg, S=Gauteng, C=SA" -keystore testKeystore -s...

For store type jceks with keysize 256 $ keytool -genseckey -keystore keystore.jck -storetype jceks -storepass changeitplease -keyalg AES -keysize 256 -alias app1_aes_encryption_key -keypass ch...