Skip to Content
avatar image
Former Member

XS Advanced: Unable to get local issuer certificate

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 21 at 01:12 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 22 at 05:44 PM
    Add comment
    10|10000 characters needed characters exceeded