md5 digest:
echo -n 'md5 digest of text' | openssl dgst -md5
841fc570f41fad1a64cc237b16127225sha1 digest:
echo -n 'sha1 digest of text' | openssl dgst -sha1
80efdb4abbeb92c0ea15a4146d68c39adff5ad47
opensslmd5 and sha1 digest with opensslSubmitted by sandip on Thu, 08/30/2012 - 17:00md5 digest: echo -n 'md5 digest of text' | openssl dgst -md5sha1 digest: echo -n 'sha1 digest of text' | openssl dgst -sha1base64 encoding decoding with opensslSubmitted by sandip on Thu, 08/30/2012 - 16:28Base64 encoding with openssl: echo -n 'encode this with base64' | openssl enc -base64Base64 decoding with openssl: echo 'ZW5jb2RlIHRoaXMgd2l0aCBiYXNlNjQ=' | openssl enc -base64 -dShadow password hash explainedSubmitted by sandip on Sat, 07/11/2009 - 00:05You can programmatically generate shadow password hash via: $ openssl passwd -1 -salt G5cYam5w test.123-1 means md5 Here is the breakdown: The first $1 means that it is an md5 hash. Checking Ubuntu Servers for openssh and openssl vulnerable keysSubmitted by sandip on Sun, 06/22/2008 - 21:33
# apt-get update# apt-get install openssh-blacklist openssl-blacklist# ssh-vulnkeys -a# openssl-vulnkeys *.key *.pemNote: Plesk specific ssl certs are stored at "/opt/psa/var/certificates/" Static compile of openssl, apache, mod_ssl and phpSubmitted by wizap on Tue, 02/26/2008 - 16:47As of this writing, the latest versions were:
php-4.4.8 openssl-0.9.8g mod_ssl-2.8.31-1.3.41 Once the files are downloaded and extracted; config, compile and install in the below order:
$ ./config --prefix=/usr/local --openssldir=/usr/local/openssl$ ./configure \$ ./configure$ ./configure \$ SSL_BASE=../openssl-0.9.8g \STARTTLS: CRLFile missing (RESOLVED)Submitted by sandip on Fri, 10/19/2007 - 10:20When starting sendmail, I would get the below messgage: Oct 18 23:59:01 srv02 sendmail[20857]: alias database /etc/aliases rebuilt by rootAlthough, 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. Download revoke.crl: # cd /usr/share/ssl/certsAdd the below line to "/etc/mail/sendmail.mc" just below the "confSERVER_KEY": define(`confCRL', `/usr/share/ssl/certs/revoke.crl')Rebuild sendmail conf by running make: # cd /etc/mailCheck sendmail.cf with the revoke.crl listed as below: O CRLFile=/usr/share/ssl/certs/revoke.crlNow restarting sendmail should not complain about the missing Certificate Revocation List (CRL) File. Static compile and install of apache + mod_ssl + php on FC4Submitted by sandip on Tue, 05/22/2007 - 15:24Latest Compile with pdo drivers for mysql along with mod_security. NOTE: # rpm -e MySQL-shared-5.0.20a-0.glibc23 |
User loginRecent blog posts
Who's onlineThere are currently 0 users and 13 guests online.
|