HI,
want to access a mysql DB over ssl from my workbench. looked in the knime Forum an found some hints. But still noch access via ssl. Therefor i ask for help!
Having a CA.PEM, Client-Cert.PEM, Client-key.PEM file. (the access still works from the mysql workbench with that)
Producing a truststore for the CA and a keystore for the Client-Certificate.
First produced a p12 file with openssl.
openssl pkcs12 -export -in C:\Users\...\client-key.pem -name "mysqlclient" -passout pass:xxxx -out client-keystore.p12
Then copied CA in truststore with keytool. Did the same with the P12 file into the keystore file.
keytool -importcert -alias MySQLCACert -file C:\Users.…\ca.pem -keystore truststore -storepass xxxx
keytool -importkeystore -srckeystore client-keystore.p12 -srcstoretype pkcs12 -srcstorepass jofujofu3701 -destkeystore keystore -deststoretype JKS -deststorepass xxxx
Configured the mySQL Database Connector with the JDBC Parameter
Got an Error: Invalid keyfile format???
Asking for help - is there an easier way to access the remote DB with SSL?
Regards
Josef