azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

AZURE_POSTGRESQL_CONNECTIONSTRING contains wrong Ssl Mode

Open michaelmairegger opened this issue 2 years ago • 1 comments

According https://www.npgsql.org/doc/release-notes/6.0.html#changes-to-ssl-configuration-ssl-moderequire pgsql requires Ssl Mode=Require in combination with Trust Server Certificate=true which is not provided, otherwise .net connections will not work.

But I want to have Ssl Mode=VerifyFull If I change the connection string within the auto created configuration variable AZURE_POSTGRESQL_CONNECTIONSTRING, the connection string is correctly displayed under Service Conenctor but if I try to validate the connection state then this step fails stating that Configured connection information validated.connectionString of connection is incorrect

[Enter feedback here]


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

michaelmairegger avatar Jun 01 '23 09:06 michaelmairegger

@michaelmairegger Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT avatar Jun 01 '23 11:06 SaibabaBalapur-MSFT

add @xfz11 from eng team to help on this.

yungezz avatar Jul 17 '23 06:07 yungezz

Hi @michaelmairegger, we have fixed the validation issue. Now you could change the SSL mode and won't see the error.

xfz11 avatar Oct 31 '23 08:10 xfz11

Thank you @xfz11 for your contribution. #please-close

maud-lv avatar Oct 31 '23 08:10 maud-lv