Unable to Update
hl2guide opened this issue · 1 comments
hl2guide commented
Updates fail:
PS C:\Users\Dean> Update-Module -Name PSWriteHTML
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y
Install-Package: Authenticode issuer 'CN=Przemysław Kłys EVOTEC, O=Przemysław Kłys EVOTEC, L=Mikołów, C=PL' of the new module
'PSWriteHTML' with version '1.0.192' from root certificate authority 'CN=DigiCert Trusted Root G4, OU=www.digicert.com,
O=DigiCert Inc, C=US' is not matching with the authenticode issuer 'CN=Przemysław Kłys EVOTEC, O=Przemysław Kłys
EVOTEC, L=Katowice, S=Śląskie, C=PL' of the previously-installed module 'PSWriteHTML' with version '0.0.190' from root
certificate authority 'CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US'. If you still want to
install or update, use -SkipPublisherCheck parameter.
PrzemyslawKlys commented
Install-Module PSWriteHTML -Force -Verbose -SkipPublisherCheck
- due to cert change you need to install it again. Keep in mind that doing install-module -force
is effectively the same as update-module with the change that it doesn't care if you have earlier version installed, it will overwrite current or install newest.