I think that it is not accepted to connect to the server from outside of the local network, probably a security issue.
Anyway, I am able to connect with openssl and the server responds with following:
[johan@aca80065 ~]$ openssl s_client -connect login1.swipnet.se:443 CONNECTED(00000003) Pdepth=0 /C=SE/ST=Stockholm/L=Kista/O=Tele2 Sverige AB/CN=login1.swipn +et.se/emailAddress=staff@swip.net verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 /C=SE/ST=Stockholm/L=Kista/O=Tele2 Sverige AB/CN=login1.swipne +t.se/emailAddress=staff@swip.net verify error:num=27:certificate not trusted verify return:1 depth=0 /C=SE/ST=Stockholm/L=Kista/O=Tele2 Sverige AB/CN=login1.swipne +t.se/emailAddress=staff@swip.net verify error:num=21:unable to verify the first certificate verify return:1 634:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block t +ype is not 01:rsa_pk1.c:100: 634:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check f +ailed:rsa_eay.c:464: 634:error:1408D07B:SSL routines:SSL3_GET_KEY_EXCHANGE:bad signature:s3 +_clnt.c:1185: [johan@aca80065 ~]$ POST /login.php Please enter content (application/x-www-form-urlencoded) to be POSTed: username=aahha;password=errr;
My problem (quite embarrassing) is the same as when I tried to use lwp-request. When the server asks for content and I enter it, I am unable to finish (send) the content(username and password). I have pressed Enter after the input line.

Best regards
/Johan

In reply to Re: Re: Re: Re: LWP HTTPS POST returns 500 EOF by epljsod
in thread LWP HTTPS POST returns 500 EOF by epljsod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.