![]() On Windows, that's %LOCALAPPDATA%\DBeaver, which translates to C:\Users\\AppData\Local\DBeaver. Next, we'll need to tell the IRIS JDBC driver how to find this keystore, which is accomplished through an SSLConfig.properties file. This simple text file needs to be placed in the working directory of the Java program that'll open the JDBC connection. Step 2: Create an SSLConfig.properties file keytool -importcert -file path-to-cert/cert-file.pem -keystore keystore.jks -alias myDeploymentNameįor more details, see the documentation. The -alias is optional, but helpful when you intend to reuse the same keystore file to store multiple certificates. The location of the keystore.jks file does matter, so make sure you run the command from a folder where it makes sense and is safe from uninstall or upgrade surprises, such as a cert directory in your user's home dir. The location of your certificateSQLaaS.pem certificate file does not matter after running this command, so you can delete it from your downloads folder afterwards. Use the command below to import the certificate. ![]() This is a standard piece of Java infrastructure, so nothing specific to IRIS or DBeaver at this point. We then need to store this certificate in a trusted keystore using the keytool utility. ![]() You can download the certificate from the deployment details page through the "Get X.509 certificate" button: In order to connect securely, we'll use certificates to encrypt everything that gets sent over the wire. Other than that, all the default settings should work fine. The one thing you need to be mindful of is to check the box to enable external connections. Step 0: Creating your deploymentįirst, log into the Cloud Services Portal and create a Cloud SQL deployment. □If you prefer popcorn over scrolling, check out this video in which we walk you through the steps captured below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |