We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ffcf3 commit 6db96dfCopy full SHA for 6db96df
Set-SslSecurity.ps1
@@ -134,7 +134,7 @@ process {
134
# Build Credential Object, Connect to Nexus
135
$securePw = (Get-Content 'C:\programdata\sonatype-work\nexus3\admin.password') | ConvertTo-SecureString -AsPlainText -Force
136
$Credential = [System.Management.Automation.PSCredential]::new('admin', $securePw)
137
-
+
138
# Connect to Nexus
139
Connect-NexusServer -Hostname $SubjectWithoutCn -Credential $Credential -UseSSL
140
@@ -234,6 +234,9 @@ process {
234
}
235
236
<# CCM #>
237
+ # Update the service certificate
238
+ Set-CcmCertificate -CertificateThumbprint $Certificate.Thumbprint
239
240
# Remove old CCM web binding, and add new CCM web binding
241
Stop-CcmService
242
Remove-CcmBinding
0 commit comments