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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -