echo -n 'md5 digest of text' | openssl dgst -md5
echo -n 'sha1 digest of text' | openssl dgst -sha1
Submitted by sandip on Thu, 08/30/2012 - 17:00
Submitted by sandip on Thu, 08/30/2012 - 16:28
Base64 encoding with openssl:
Base64 decoding with openssl:
Submitted by sandip on Sat, 07/11/2009 - 00:05
You can programmatically generate shadow password hash via:
-1 means md5
Here is the breakdown:
The first $1 means that it is an md5 hash.
Submitted by sandip on Sun, 06/22/2008 - 21:33
Install openssh-blacklist and openssl-blacklist
Check all ssh compromised keys via:
Check all ssl keys and certificates via:
Note: Plesk specific ssl certs are stored at "/opt/psa/var/certificates/"
Submitted by wizap on Tue, 02/26/2008 - 16:47
As of this writing, the latest versions were:
Once the files are downloaded and extracted; config, compile and install in the below order:
Submitted by sandip on Fri, 10/19/2007 - 10:20
When starting sendmail, I would get the below messgage:
Although, sendmail would still run without the CRL File and just complain about it missing. A quick way to include it in the sendmail configuration is to download revoke.crl from cacert.org, add the below option in sendmail.mc and rebuild the sendmail conf file as below.
Add the below line to "/etc/mail/sendmail.mc" just below the "confSERVER_KEY":
Rebuild sendmail conf by running make:
Check sendmail.cf with the revoke.crl listed as below:
Now restarting sendmail should not complain about the missing Certificate Revocation List (CRL) File.
Submitted by sandip on Tue, 05/22/2007 - 15:24
Latest Compile with pdo drivers for mysql along with mod_security.
Recent blog posts
There are currently 0 users and 13 guests online.