Downloads:
OpenSSL is required to import SSL certificates from google website. If you already have one, please ignore the installation section.
OpenSSL Installation
Login to Weblogic Enterprise Manager and open Workflow Notification Properties from SOA>soa-infra>SOA Administration.
Set Notification Mode as Email. Enter your choice of From, Actionable and ReplyTo email addresses.
Click on Go to the Message Driver page. From Associated Drivers page, click on Configure Driver.
Modify Driver properties as follows:
Restart SOA Server.
- Gmail IMAP SSL Certificate for incoming mails
- Gmail SMTP SSL Certificate for outgoing mails
- Gmail Keystore containing IMAP and SMTP SSL Certificates
OpenSSL is required to import SSL certificates from google website. If you already have one, please ignore the installation section.
OpenSSL Installation
- Install Visual C++ 2008 Redistributables.
- Install OpenSSL from here.
- Open command prompt and go to OpenSSLHome/bin.
- Run following commands to create SSL certificates. Ignore any reported errors. If command hangs, press Ctrl+C to cancel. This will have no impact on certificate import.
- openssl s_client -connect imap.gmail.com:993 > imap.cert
- openssl s_client -connect smtp.gmail.com:465 > smtp.cert
- Edit imap.cert and smtp.cert to remove everything before
- Import above two certificates into keystore. Enter your choice of password when prompted for a new and confirmation password. You can find keytool executable from JAVA_HOME/bin either in standalone JDK6 or JDEV_HOME/jdk160_18\bin.
- keytool -import -alias imap.gmail.com -keystore gmailcertstore.jks -file imap.cert
- keytool -import -alias smtp.gmail.com -keystore gmailcertstore.jks -file smtp.cert
- Modify setDomainEnv.cmd from WLS_HOME/user_projects/domains/<soadomain>/bin to specify truststore.
- -Djavax.net.ssl.trustStore=<path>/gmailcertstore.jks -Djavax.net.ssl.trustStorePassword=<password you used>
- Save setDomainEnv.cmd
Login to Weblogic Enterprise Manager and open Workflow Notification Properties from SOA>soa-infra>SOA Administration.
Set Notification Mode as Email. Enter your choice of From, Actionable and ReplyTo email addresses.
Click on Go to the Message Driver page. From Associated Drivers page, click on Configure Driver.
Modify Driver properties as follows:
MailAccessProtocol | IMAP |
ReceiveFolder | Inbox |
OutgoingMailServer | smtp.gmail.com |
OutgoingMailServerPort | 465 |
OutgoingMailServerSecurity | SSL |
OutgoingUsername | Your choice of email id. Ex: orafmwtraining@gmail.com |
OutgoingPassword | Password for OutgoingUsername |
IncomingMailServer | imap.gmail.com |
IncomingMailServerPort | 993 |
IncomingMailServerSSL | select checkbox |
IncomingMailIDs | saileshan007@gmail.com |
IncomingUserIDs | saileshan007@gmail.com |
IncomingUserPasswords | Password for IncomingUserID |
No comments:
Post a Comment