java - How does Tomcat sets cipher suite to entire JVM and not just specific connector? -


i've noticed when configure in server.xml of tomcat specific cipher suite ssl connector influences entire jvm. meaning, when create socket sslsocketfactory contains specific cipher.
can please explain me how done? how tomcat enables configured cipher affect new socket?
i'm using tomcat 8 , jdk 1.8.0_91.
here server.xml section:

<connector protocol="org.apache.coyote.http11.http11nioprotocol" address="$ip" port="443"  enablelookups="false" disableuploadtimeout="true" acceptcount="100" scheme="https" secure="true" sslenabled="true" clientauth="false"  keystorefile="..." keystorepass="xxx" truststorefile="..." truststorepass="xxx"  sslprotocol="tls" sslenabledprotocols="tlsv1, tlsv1.1, tlsv1.2" ciphers="$cipher_suites" /> 


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -