MOving to HTTPS from HTTP

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
ERFJR
Posts: 2
Joined: Thu Jul 29, 2021 6:42 am

MOving to HTTPS from HTTP

Post by ERFJR »

My vendor is moving to HTTPS. I've changed my URL but a call returns "Only the http protocol is available!" message. I see in the HTTPAPIR4 code where that error is being returned and a reference to HAVE_SSL. I don't have the SOCKUTILR4 object in my library--is this what I'm missing or must I reinstall the full package for SSL support?

Thanks!
Scott Klement
Site Admin
Posts: 658
Joined: Sun Jul 04, 2021 5:12 am

Re: MOving to HTTPS from HTTP

Post by Scott Klement »

SOCKUTILR4 is not related to HTTPAPI.

Long ago (more than 20 years ago now) the operating system did not ship with the cryptography features that were needed to use SSL (HTTPS) so it was necessary to be able to build HTTPAPI without support for HTTPS. Apparently, someone compiled it without that support enabled on your system.

Please get the latest version of HTTPAPI and recompile it with SSL support enabled.
Post Reply