You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sam <is...@ms45.hinet.net> on 2001/10/15 15:04:35 UTC

@java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol

Hi all,

    I have followed the step for building JSSE environment.
    and success in SSLSocketClient.java to retrive HOMEPAGE source code.
    However I try another sample URLReader,
    I must set https enabled firstly,

    so I followed the document (java.sun.com/products/jsse/install.html
    ==
    java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    ==

    Why java can not execute it?

    by the way,
    I try https://localhost:8443 to test my SSL conection
   The Browser tell me I must have a personal Cert File. I have it already..
and installed with Explorer 5.
   So? How should I know the SSL connection is work.

   any useful information???

   thanks for help~

--Sam




@ Tomcat with SSL in port 443

Posted by Sam <is...@ms45.hinet.net>.
Hi all,

How could I use default port 443 to access https?

I do not indicate port number for SSL connection in server.xml.

--> <Parameter name="port" ... >   

and execute ./startup.sh
FATAL:java.net.BindException: Address already in use   
It report 443 port in use, so I check /etc/services

two row in /etc/services 
https           443/tcp                         # MCom
https           443/udp                         # MCom

If I never indicate 443 for https use,
Does not https work well in 443 port!?

thanks in advance.