File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/main/core-impl/java/com/mysql/cj/protocol Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 33
44Version 9.5.0
55
6+ - Fix for Bug#98699 (Bug#30932850), Allow empty keyStore file for keyStoreTypes that do not require files.
7+ Thanks to Kolbe Kegel for his contribution.
8+
69 - Fix for Bug#118938 (Bug#38396227), DatabaseMetaDataInformationSchema#getSchemas has a bug.
710
811 - Fix for Bug#99292 (Bug#31195955), Contribution: Support Windows time zone \'Coordinated Universal Time\'.
Original file line number Diff line number Diff line change @@ -557,6 +557,13 @@ public SSLContext build() {
557557 }
558558 }
559559 }
560+ } else {
561+ // Not all KeyManagers require a file-based keystore. If clientCertificateKeyStoreUrl is empty, still try to create a functional KeyManager.
562+ try {
563+ kms = kmf .getKeyManagers ();
564+ } catch (IllegalStateException e ) {
565+ // Ignore. No KeyManager shall be used.
566+ }
560567 }
561568
562569 InputStream trustStoreIS = null ;
You can’t perform that action at this time.
0 commit comments