I am not having any success with a .pem, that has a wild card common name *.DOMAIN.COM. I am trying to connect to "https://lab.DOMAIN.com" and I am getting no response?
xfer = CreateObject("roURLTransfer")
xfer.SetURL('https://lab.DOMAIN.com/somescript'))
xfer.AddHeader("X-Roku-Reserved-Dev-Id", "")
xfer.SetCertificatesFile("pkg:/cert/DOMAIN.pem")
xfer.InitClientCertificates()
response = xfer.GetToString()
print "Failure Reason: " + xfer.GetFailureReason()
print "Response: " + response
Both "Failure Reason" and "Response" are coming back empty, and when I hit from a browser I get the a Response.
Anyone has any ideas?
Thanks
- Daniel
http://dbulli.com