title: Troubles With SSL when use Google Maps API on SAP
body: <p>I have a geolocalizer develop using Google Maps API on SAP and connect to Google Maps WS by url with XML mode but when I get the response I recieve the error I show below. SAP Application Server have installed some CA (even the Google Internet Authority G3) but develop still doesn't work. Have any idea what can I do to solve this? I'll appreciate it.</p>
  
  <pre><code>500 SSL Peer Certificate Untrusted
  
  SSL handshake with maps.googleapis.com:443 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102)
  
  
  The peer's X.509 Certificate (chain) is untrusted
  
  SapSSLSessionStartNB()==SSSLERR_PEER_CERT_UNTRUSTED
    SSL:SSL_read() failed  (536872221/0x2000051d)
    =&gt; "Failed to verify peer certificate. Peer not trusted."
    SSL:SSL_get_state()==0x2131 "TLS read server certificate B"
    SSL NI-hdl 90: local=10.0.4.146:25023  peer=172.217.8.10:443
    cli SSL session PSE "/usr/sap/SED/DVEBMGS00/sec/SAPSSLC.pse"
    session ciphersuites=HIGH:MEDIUM:+e3DES:!aNULL
    Client SSL_CTX 7f0d8006f830 pvflags=128 (TLSv1.0)
    Target Hostname="maps.googleapis.com"
  &gt;&gt; ---- SecuSSL ErrStack: ----
  0x2000051d | SAPCRYPTOLIB | SSL_read
  SSL API error
  Failed to verify peer certificate. Peer not trusted.
  0xa0600203 | SSL | ssl3_read_bytes
  Peer not trusted
  0xa0600203 | SSL | ssl3_connect
  Peer not trusted
  0xa0600203 | SSL | ssl3_get_server_certificate
  Peer not trusted
  0xa0600203 | SSL | ssl3_decode_server_certificate
  Peer not trusted
  0xa0600203 | SSL | ssl_verify_peer_certificates
  Peer not trusted
  0xa0600203 | SSL | ssl_cert_checker_verify_certificates
  Peer not trusted
  0xa0600203 | SSL | ssl_cert_checker_verify_certificates
  Peer not trusted
  Certificate:
   Certificate:
    Subject:                              CN=*.googleapis.com, O=Google LLC, L=Mountain View, SP=California, C=US
    Issuer:                               CN=Google Internet Authority G3, O=Google Trust Services, C=US
    Serial Number:                        7C:C5:3D:5F:59:B7:CC:33
   Verification result:
    Status:                              Not successful
    SignerStatus:                        Not successful
    SignerVerificationResult:
     Status:                              Not successful
     Validity:                            Successful
     BasicConstraints:                    Successful
     KeyUsage:                            Successful
     ObjectStatus:                        Not successful
     SignerCert:
      Certificate:
       Subject:                              CN=Google Internet Authority G3, O=Google Trust Services, C=US
       Issuer:                               CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R2
       Serial Number:                        01:E3:A9:30:1C:FC:72:06:38:3F:9A:53:1D
      Verification result:
       Status:                              Not successful
       SignerStatus:                        Not successful
       SignerVerificationResult:            None
  
  &lt;&lt; ---------------------------
  
  
  
  Error: -48 
  Version: 7490 
  Component: ICM 
  Date/Time: Mon Nov 5 16:46:06 2018  
  Module: icxxconn.c 
  Line: 2240 
  Server: gserpsed_SED_00 
  Error Tag: {000006e1} 
  </code></pre>