cancel
Showing results for 
Search instead for 
Did you mean: 

Error in mail receiver iFlow- HCP-IS

apu_das2
Active Contributor
0 Kudos

Hi Guys,

I am creating a simple mail scenario to do some hands on HCP-IS. Its a simple mail receiver scenario where iFlow will be triggered through a start event, then there is a content modifier with just a word ("Test Mail") in body and then mail receiver channel to send it to gmail. But my iFlow is giving error in monitor.

Here is my iFlow -

Outbound connection Test from Eclipse is showing successful -

Here is the error log I am getting in Monitoring -

Any idea? Please help.

Thanks,


Accepted Solutions (0)

Answers (2)

Answers (2)

vicky20691
Active Contributor
0 Kudos

Hi Apu,

You need to put the gmail certificate in system.jks and upload the keystore back in tenant.

Regards,

Vikas

bhavesh_kantilal
Active Contributor
0 Kudos

Oops, Sorry Vikas, I did not see your response. My message was in a draft mode for pretty long as I got distracted!

Regards,

Bhavesh

apu_das2
Active Contributor
0 Kudos

Hi Bhavesh/Vikas,

Thanks for your reply. Is there any way to connect with any mail client not necessarily gmail without deploying the SSL certificate in system.jks.

Why I am asking this because I don't have authorization to download system.jks and I guess I will not be able to manage the authorization.

Thanks,

Apu

vicky20691
Active Contributor
0 Kudos

Hi Apu,

You can log sap ticket and ask them to upload it for you.

This is what happens when you work on cloud, you need to establish trust with almost everything you want to connect (after all it is public network).

Regards,

Vikas

vicky20691
Active Contributor
0 Kudos

it is alright bhavesh. happened many times with me too and I never got time to even acknowledge and say sorry like you did

apu_das2
Active Contributor
0 Kudos

Thanks Vikas.

The strange thing is already there is an interface running in the tenant where smtp.gmail.com:587 is successfully connected though the protection mode is not SMTPS but SMTP TLS Mandatory.

If its running properly then I guess already SSL certificate from mail.google.com is already deployed in system.jks.

Any idea.

Thanks,

Apu

vicky20691
Active Contributor
0 Kudos

the only reason for that I could think is

1- Gmail allows SSL/TLS (TLS needs to be configured)

2- It may be that the domain ( like abcorporate.com uses google app for their mail services and they      configured TLS on their domain and that is being used in scenario)

3- Thus, I still believe you are logged in to gmail account which is not the same as the account already working. You should download certificate from the logged in account import.

Regards,

Vikas

Harish
Active Contributor
0 Kudos

Hi Apu,

The error is in SSL Handshake, did you uploaded the HTTPS certificate of Gmail to HCP-IS?

regards,

Harish

apu_das2
Active Contributor
0 Kudos

Hi Harish,

I have 2 factor authentication in my gmail, hence I have generated application specific password and deployed that in user credential following below -

Is it required to deploy the certificates. If it is then how.

Thanks,

Apu

bhavesh_kantilal
Active Contributor
0 Kudos

Hello Apu,

You need to download the SSL Certificate of Gmail as shown below and load the same into the Keystore of HCI. The root certificate from GeoTrust Global CA should suffice.

In my case, I removed this and I get the same error as you and once I add the same, my Mail Goes through!

In the test connection SMTP will show successsful but the SSL connection will fail until this certificate is loaded into the HCI Keystore ( system.jks artifact )