I'm having trouble getting HTTP.SubmitSecure to work with port 443
Interestingly, it works fine on port 8443, as per the examples (substituted "website" for actual domain name) below.
Below are examples of coding that works and doesn't work.
myvalues = {os1=os_name, date1=todays_date, info1=registry_value};
result = HTTP.Submit("http://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 80, nil, nil); -- this works
result = HTTP.SubmitSecure("https://apps.website.net:8443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 8443, nil, nil); -- and this works
result = HTTP.SubmitSecure("https://forms.website.net:443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- but this doesn't work
result = HTTP.SubmitSecure("https://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- nor does this work
I'm interested as to why it fails on port 443, while works on secure port 8443 (using the same SSL cert).
Thanks in advance for any insight!
John
Interestingly, it works fine on port 8443, as per the examples (substituted "website" for actual domain name) below.
Below are examples of coding that works and doesn't work.
myvalues = {os1=os_name, date1=todays_date, info1=registry_value};
result = HTTP.Submit("http://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 80, nil, nil); -- this works
result = HTTP.SubmitSecure("https://apps.website.net:8443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 8443, nil, nil); -- and this works
result = HTTP.SubmitSecure("https://forms.website.net:443/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- but this doesn't work
result = HTTP.SubmitSecure("https://www.website.net/forms/mobi.php", myvalues, SUBMITWEB_POST, 20, 443, nil, nil); -- nor does this work
I'm interested as to why it fails on port 443, while works on secure port 8443 (using the same SSL cert).
Thanks in advance for any insight!
John
Comment