Loading ...
Sorry, an error occurred while loading the content.

3533how to specify server certificates for https

Expand Messages
  • walter
    Apr 26 8:40 AM
      Hi folks,
      i'm trying to use https protocol with a daemon soaplite server. In
      docs is written that it is sufficient the client to issues the
      request with "https://..." but the handshaking fails. I think due to
      missing certificates but I don't know how to specify their path for
      the server.

      I also tried to use env vars HTTPS_CERT_FILE/KEY but unsuccessfully.

      Any hint ?

      the simple code of the server follows:
      ############################à

      my $daemon = SOAP::Transport::HTTP::Daemon
      -> new ( LocalPort => 9000 )
      # specify list of objects-by-reference here
      -> objects_by_reference(qw(WS::uploadData))
      # specify path to My/Examples.pm here
      -> dispatch_to('WS')
      ;

      print "Contact to SOAP server at ", $daemon->url, "\n" if $verbose;
      $daemon->handle;
      #########################################à


      Walter
    • Show all 4 messages in this topic