Skip to Content
0

XS Advanced: Unable to get local issuer certificate

Apr 22 at 03:41 PM

121

avatar image
Former Member

I am running HANA XS Advanced SPS02 express edition in VirtualBox.

When trying to make a request to an outside service (eg. googleapis.com) it always fails with the error "unable to get local issuer certificate". I already imported the Certificate at the "Trust Certificates" in the Advanced Cockpit but it did resolve the error.

Where is the correct place to upload the certificate or whitelist the external URL?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ayman Salem Apr 22 at 05:44 PM
0
Share
10 |10000 characters needed characters left characters exceeded
Witalij Rudnicki
2 days ago
0

The way I've done it is going with Firefox (in my case) to https://maps.googleapis.com/maps/api/ and then:

1/ Go to Page Info -> Security -> View certificate -> Details -> Export

2/ Export **both** host's PEM certificate and root's ("...with chain")

3/ As an admin add **both** certificates via HANA XS Advanced Cockpit -> Trust Certificates, or xs trust-certificate command

4/ Restart XSA (it takes time, so I tried to find minimum services that should be restarted, but with no luck. If you know the trick, please share in comments)

Now my MTA application, which is using Google APIs, runs without that error.

Share
10 |10000 characters needed characters left characters exceeded