in reply to Re: JSON::RPC::Server with SSL
in thread JSON::RPC::Server with SSL

Thanks Zentara! I incorporated that handling code into my client. I am now getting the following error message in my client (with the daemon still failing w/o error):
No res 500 Can't connect to 127.0.0.1:88888
I've been trying to extract some info from the server methods shown here but can't seem to get to the HTTPS::Daemon or IO::Socket::SSL error that is occurring.

Replies are listed 'Best First'.
Re^3: JSON::RPC::Server with SSL
by hazylife (Monk) on Mar 11, 2014 at 20:31 UTC
    88888 is greater than 65535 and is therefore not a valid port number.
      Thanks Hazylife, I tried using port 8808 and got the same result.
        First 88888, then 8808, ???

        Are you sure you have the port number correctly matched in your server/client pair?

        Are you sure your web server at 127.0.0.1 is properly configured to handle SSL connections? What web server are you using? Most web servers do not come setup with SSL enabled, you must edit their config files properly, especially telling it which port numbers to listen for SSL. The default is 443.

        Just to test your webserver, can you connect to https://127.0.0.1 with a browser ?

        Ooops, Anonymous Monk is correct below, in that you are not using a conventional webserver. In that case, can you connect to to the HTTP::Daemon::SSL with a browser?


        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh