Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_POST and OpenSSL

Former Member
0 Kudos

Morning all.

I'm using the function module "HTTP_POST" to try to post to a particular page. However, there's a problem. I need to post to an HTTPS URI, and when I try to run it, I get the message "OpenSSL not available". I can't find what that message actually means anywhere - does anyone know? This is a proper blocker for me so if anyone can help it would be much appreciated...

1 ACCEPTED SOLUTION

eddy_declercq
Active Contributor
0 Kudos

Hi,

Are you already using 4.7 or higher or have a WebAs avalaible? Then you can use the method described in

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/just browsing around.article

Eddy

5 REPLIES 5

eddy_declercq
Active Contributor
0 Kudos

Hi,

Are you already using 4.7 or higher or have a WebAs avalaible? Then you can use the method described in

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/just browsing around.article

Eddy

FredericGirod
Active Contributor
0 Kudos

Hi,

OpenSSL, is an open projet to the implementation of the SSL concept. The URL you try to connect is waiting to start a SSL communication.

Maybe try to find and HTTPS* function. Or check OSS Note about SSL connection.

Rgd

Frédéric

Former Member
0 Kudos

I know what OpenSSL actually is, I just don't know why it's telling me that it isn't available. I've installed SAPCRYPTOLIB as per note <a href="https://websmp203.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000077842002">510007</a> so I shouldn't be having any problems using SSL. I've been into STRUST and created the client certificates to get around the silly technical limitation, too. Maybe I should try using CL_HTTP_CLIENT - it looks a bit more robust. I still wouldn't mind using the function module if someone knows what that error message actually means though? Does it mean there's some configuration I've screwed up or does it mean that the function module fundamentally does not understand HTTPS and SSL?

Former Member
0 Kudos

Struggling a bit here. If I were to use CL_HTTP_CLIENT, how might I get it to communicate using SSL or TLS so I can call an HTTPS URI?

Former Member
0 Kudos

It turns out that this is due to SAP having out-of-date certificates for certificate path verification - the new Verisign one is missing. Importing it solves the problem.