Xerces77
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2011
04:27 PM
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?
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?
6 REPLIES 6
RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2011
05:05 PM
Re: No server response via https using roUrlTransfer
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
You might want to test the PEM file contents vs your website using curl.
--Kevin
Xerces77
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2011
05:11 PM
Re: No server response via https using roUrlTransfer
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.
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.
RokuChris
Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2011
08:22 PM
Re: No server response via https using roUrlTransfer
"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
Xerces77
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011
01:09 AM
Re: No server response via https using roUrlTransfer
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?
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?
Xerces77
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011
02:38 AM
Re: No server response via https using roUrlTransfer
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
Cheers
RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2011
12:26 PM
Re: No server response via https using roUrlTransfer
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
--Kevin