restcommmobicents-sip-servlets

wss certificate configuration


I'd like to know if it is possible to configure a certificate for wss when using restcomm sipservlets with a keystoretype PKCS12

I found this post: SIPML 5 Client and SipServlets not works Using WSS

and looked to modify the suggestion to :

gov.nist.javax.sip.TLS_CLIENT_AUTH_TYPE=Disabled
javax.net.ssl.keystoreFile="conf/STAR_domain.pfx"
javax.net.ssl.keyStorePassword="pkcspass"
javax.net.ssl.keystoreType="PKCS12"

my connector config:

     <Connector port="10443" 
     ipAddress = "ip.address"
     protocol="org.mobicents.servlet.sip.startup.SipProtocolHandler"
     signalingTransport="wss"/>

When opening a socket to this port I don't get a server hello. Meaning the cert wasn't loaded?


Solution

  • Please Read and follow the steps at http://docs.telestax.com/sip-servlets-security/