cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling SSL on SAP NetWeaver 7.0 ABAP Trial Version

dhorions
Contributor
0 Kudos
224

Hello,

I installed the SAP NetWeaver 7.0 ABAP Trial Version and am trying to use the class cl_http_client to GET an xml file over ssl.

The method cl_http_client_receive returns error "http_communication_failure", the get_last_error method returns "110", which isn't a valid http/1.1 statuscode for as far as I know.

I 'think' the reason for this problem is the fact that there is no ssl certificate installed on my test system, does anyone know if this really is the problem, and if so, if it is possible to enable ssl on the trial system?

View Entire Topic
0 Kudos

Which HTTP header do you set up when issuing the GET? Which method do you use, BYURL or BYDESTINATION? SSL is only used when you set 'SCHEME' to value '2'.

In order to activate SSL, you need to specify 'SSL_ID' within CL_HTTP_CLIENT=>CREATE. This ID links to an SSL client certificate shown in transaction STRUST (display all client cert IDs via 'Environment'). In STUST, you can also create new SSL client certs. However, to be able to run STRUST in this way, you first have to obtain the SAP Cryptographic Library from SAP Service Marketplace and install it in you system.

Regards,

Birger