< Back
Enable-HPERedfishCertificateAuthentication
Post
NAME Enable-HPERedfishCertificateAuthentication
SYNOPSIS
Enables SSL certificate authentication in the current PowerShell session.
SYNTAX
Enable-HPERedfishCertificateAuthentication [<CommonParameters>]
DESCRIPTION
The Enable-HPERedfishCertificateAuthentication cmdlet enables checking of SSL certificate when using
HPERedfishCmdlets. In a new PowerShell session, the SSL certificate checking is enabled by default. When
communicating using HTTPS protocol, the target device is checked for a valid certificate. If the certificate is
not present, then the connection is not made and the client does not send the HTTPS request to the target. This
certificate check can be disabled using Disable-HPERedfishCertificateAuthentication and can be enabled using
Enable-HPERedfishCertificateAuthentication.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Disabling the certificate check should be used until a valid certificate has been installed on the device
being connected to. Installing valid certificates that can be verified gives and extra level of network
security.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-HPERedfishCertificateAuthentication
This command enables the server certificate authentication, and sets the session level flag to TRUE. The scope of
the session level flag is limited to this session of PowerShell. Default value of session level is flag TRUE.
RELATED LINKS
http://www.hpe.com/servers/powershell
SYNOPSIS
Enables SSL certificate authentication in the current PowerShell session.
SYNTAX
Enable-HPERedfishCertificateAuthentication [<CommonParameters>]
DESCRIPTION
The Enable-HPERedfishCertificateAuthentication cmdlet enables checking of SSL certificate when using
HPERedfishCmdlets. In a new PowerShell session, the SSL certificate checking is enabled by default. When
communicating using HTTPS protocol, the target device is checked for a valid certificate. If the certificate is
not present, then the connection is not made and the client does not send the HTTPS request to the target. This
certificate check can be disabled using Disable-HPERedfishCertificateAuthentication and can be enabled using
Enable-HPERedfishCertificateAuthentication.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Disabling the certificate check should be used until a valid certificate has been installed on the device
being connected to. Installing valid certificates that can be verified gives and extra level of network
security.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Enable-HPERedfishCertificateAuthentication
This command enables the server certificate authentication, and sets the session level flag to TRUE. The scope of
the session level flag is limited to this session of PowerShell. Default value of session level is flag TRUE.
RELATED LINKS
http://www.hpe.com/servers/powershell