This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operating System: CentOS 7 | |
These are the steps to follow when sending email from command line using SSL, for example: | |
echo "" | /bin/mail -v -q -s "subject" -r from@company.com -S smtp-auth=login -S smtp=smtps://secure.emailsrvr.com:465 -S smtp-auth-user="from@company.com" -S smtp-auth-password="SECRET" to@company.com | |
Steps: | |
1. Fix the Missing "nss-config-dir" variable error | |
2. Pull the certificate chain using openss s_client -showcerts command |