Cmdlets for PostgreSQL

Build 25.0.9434

UseSSL Parameter (Connect-PostgreSQL Cmdlet)

This property determines the configuration of SSL. When SSL is enabled, an encrypted connection is established between the user and the server, ensuring that data transmitted over the network remains secure and protected from interruption.

Syntax

Connect-PostgreSQL -UseSSL SwitchParameter

Data Type

bool

Default Value

false

Remarks

This property determines whether the cmdlet will try to establish secure TLS/SSL connections to the server. By default, the cmdlet validates the server's certificate against the trusted certificate stored on the system, ensuring a secure and authenticated connection. To use a different certificate, the SSLServerCert parameter can be specified.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434