This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
diesel does not connection to postgres database with sslmode
required
#3317
Labels
You can continue the conversation there. Go to discussion →
sslmode
required
#3317
Setup
Versions
Feature Flags
["postgres","numeric","chrono"]
Problem Description
diesel-cli runs migrations successfully with
sslmode=require
attached to database urlbut when performing
diesel_insert
in program, it sayserror performing TLS handshake: no TLS implementation configured"
What are you trying to accomplish?
Connect to postgres database with
sslmode
required.What is the expected output?
Successful database insert
What is the actual output?
error performing TLS handshake: no TLS implementation configured"
Are you seeing any additional errors?
N/A
Steps to reproduce
Setup postgres 14 database with encryption only connection.
Create insert query using diesel with
sslmode
requiredChecklist
sgrif/pq-sys#25
closed if this is not the case)
The text was updated successfully, but these errors were encountered: