Forum Discussion

Xerces77's avatar
Xerces77
Visitor
15 years ago

No server response via https using roUrlTransfer

Thanks to anyone in advance who can help πŸ™‚

In retrieving my user registration code, I'm setting it to an https:// URL (which has been configured with a proper CA and key)

I'm also making sure to call roUrlTransfer.SetCertificatesFile(pkg://somefile.pem)

I'm not getting any response from the web server; its returning nothing. For clarification, the certificate file should contain the certificate from the CA authority correct? I'm placing that certificate into a plain text file and saving with a .pem extension.

This is correct?
  • that is correct... The PEM file you call SetCertificatesFile() on must contain the CA cert that signed your web server cert. Not the web server cert.

    You might want to test the PEM file contents vs your website using curl.

    --Kevin
  • Thanks RokuKevin.

    That's what I have inside the .PEM file- the certificate I rec'd from the SSL authority. I include that file in my app package. I've tried giving the file either a .pem or .crt extension and still no response.

    BTW, the CA certificate has already been added to the web server.
  • "Xerces77" wrote:
    I'm also making sure to call roUrlTransfer.SetCertificatesFile(pkg://somefile.pem)


    It could just be a typo in your post, but that path has an extra / in it. It should be pkg:/somefile.pem
  • Still no response. (and no the extra slash was only a typo on this site)
    The .pem file I'm referencing in roUrlTransfer.SetCertificatesFile("pkg:/somefile.pem")
    contains the CA I was given after submitting a CSR to RapidSSL. This is correct right?
  • Fixed thanks for the help I was testing it locally rather than putting it up as a private chan for it to do SSL properly.

    Cheers
  • Glad you fixed it. Just to avoid confusion, side-loaded channels are capable of doing SSL. You must have changed something else as well....

    --Kevin