Wednesday, 10 January 2024

openssl office365 certificate download

 # Get smtp.office365.com certificate output

echo | openssl s_client -showcerts -servername smtp.office365.com -connect smtp.office365.com:995 2>/dev/null | openssl x509 -inform pem -noout -text


openssl s_client -showcerts -connect smtp.office365.com:587 -starttls smtp 2</dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'

# Export smtp.office365.com certificate to .pem

openssl s_client -servername smtp.office365.com -connect smtp.office365.com:995 </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /sslDir/smtp.office365.com.pem

Tuesday, 9 January 2024

error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

 apps/tech_st/10.1.3/Apache/Apache/libexec/mod_ossl.so into server:

/10.1.3/Apache/Apache/libexec/mod_ossl.so: undefined symbol: dbm_firstkey


Fixes:


As root user, download and extract patch 6078836

 

# cd 6078836

# cp libdb.so.2 /usr/lib/

# yum install -y gdbm-devel.i686

# ln -sf /usr/lib/libdb-5.3.so /usr/lib/libdb-4.3.so



Number of Visitors