PxPlus User Forum

Twitter Twitter Twitter

Author Topic: *plus\web\request  (Read 739 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
*plus\web\request
« on: September 07, 2022, 04:50:17 PM »
Hi All,
I am running pxplus 13.1
I have been using *plus\web\request with a fair amount of success with both http and https sites.
Recently a web service provider made some changes. I can no longer connect to certain https urls  using "*plus web request" ->  msg(-1) = "Unable to connect securely"
But i can connect using powershell and postman.

Does anyone have any thoughts suggestions?
i can rewrite my program to use powershell but i would prefer not to if i dont have to.

thanks

jeff

p.s. the web service is to get an access token.

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: *plus\web\request
« Reply #1 on: September 07, 2022, 05:06:27 PM »
SSL constantly changes so you need to keep your software current. 

For example SNI support, which allows a single servers to have multiple domain names, was added in PxPlus 14.  Many earlier ciphers are often blocked due to security issues thus unless you use newer ciphers the host will not connect.  Also, each release of PxPlus includes newer Trusted certificate files (ca-bundle.crt) which you need to update as all certificates, even those of high level trusted suppliers, have expiry dates.

Try using a new version of PxPlus to see if it connects, if so you may need to upgrade.  V13 is no longer supported.

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: *plus\web\request
« Reply #2 on: September 07, 2022, 05:08:56 PM »
One other thing, it may be your OS.  While on Windows we supply current OpenSSL software with each new release, on Unix/Linux we rely on the version of OpenSSL installed on your machine.

Older Linux systems can often not connect to newer servers because of some of the same reasons mentioned earlier.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com