# [java]tomcat如何關閉TLS1.0 ###### tags: `Java` `Tomcat` 1. 開tomcat的server.xml 2. 找到 ```xml <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> ``` 3. 在裡面加一個屬性,限定只有TLS1.2和1.1 `sslEnabledProtocols="TLSv1.2,TLSv.1.1"`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up