Skip to content

Add pro tip about certificate requirements for JDBC postgresql driver which is recommended earlier in the document #18062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/current/v23.1/flyway.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before you begin, do the following:
~~~

{{site.data.alerts.callout_info}}
The SSL connection parameters in the connection URL must specify the full path to the certificates that you generated when you [started the secure cluster]({% link {{ page.version.version }}/secure-a-cluster.md %}). Also, the user that you specify (e.g., `max`) must also have [admin privileges]({% link {{ page.version.version }}/grant.md %}) on the database whose schema you want to change (e.g., `bank`).
The SSL connection parameters in the connection URL must specify the full path to the certificates that you generated when you [started the secure cluster]({% link {{ page.version.version }}/secure-a-cluster.md %}). The postgresql JDBC driver doesn’t read PEM certs of keys. You should convert the cert to DER and the key to pks8. More details in [this post](https://forum.cockroachlabs.com/t/connecting-to-an-ssl-secure-server-using-jdbc-java-and-client-certificate-authentication/400). Also, the user that you specify (e.g., `max`) must also have [admin privileges]({% link {{ page.version.version }}/grant.md %}) on the database whose schema you want to change (e.g., `bank`).
{{site.data.alerts.end}}

## Step 2. Create a schema migration
Expand Down