This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. « WebSphere 7 tips に戻る
WebSphere7 tip - Using GMail
By default, Portal deployed on WebSphere 7 will not be able to send any email to Gmail, even if the portal is configured correctly (pop.gmail.com:995; smtp.gmail.com:465; secure network connection). The reason is that WebSphere doesn't allow usage of untrusted certificates and signers.
Domain smtp.gmail.com has a certificate issued by Equifax Secure Certificate Authority. So, the solution is simple, we need to add this certificate to the trust ones.
Solution #
1) Download certificate:
wget --no-check-certificate https://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.cer
2) Add downloaded certificate in WS7 admin:
SSL certificate and key management > Manage endpoint security configurations > liferayNode01 > Key stores and certificates > NodeDefaultTrustStore > Signer certificates
Related links #
22414 参照数