I have been fighting with this error message:

Here’s the text of the message:
Cannot establish HTTP connection (158, 2842)
Can be cause by any of the following:
1. Cannot load certificates due to keystore password (not encrypted)
2. Keystore file not found
3. Proxy server not configured
Finding IB Logging
One thing I found was the error log thanks to the PeopleSoft wiki. The wiki has a very good article on Integration Broker Logging.
For me, the logs where located at:
- http://skphcm90/PSIGW/errorLog.html
- http://skphcm90/PSIGW/msgLog.html
On the Advanced Properties page, I adjusted the ig.log.level from 2 to 5:

While that was a good tip to learn, that didn’t really help me. It didn’t produce any extra information.
Finding a Solution
I actually found my solution on Oracle support in article [ID 1270683.1].
The fix is back on the Advanced Gateway Properties. Go to PeopleTools > Integration Broker > Configuration > Gateways and click on the Gateway Setup Properties.

After logging in, click on the Advanced Properties Page link:

Then, find the secureFileKeystorePasswd option and copy the password down to the Password Encryption box. Next, click the Encrypt button to get your encrypted version.

Finally, copy the encrypted version back up to the setting.

Click OK, and exit out of the Gateway setup saving along the way. Now, your error should be fixed!