Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling Certificate Revocation List is not working. #60

Open
UmrG opened this issue Apr 23, 2020 · 3 comments
Open

Disabling Certificate Revocation List is not working. #60

UmrG opened this issue Apr 23, 2020 · 3 comments

Comments

@UmrG
Copy link

UmrG commented Apr 23, 2020

I build couple SharePoint 2019 environments on windows server 2016 and notice one thing is common in all of them. Each environment is complaining about CRL.
Event viewer : A certificate validation operation took 15003.0019 milliseconds and has exceeded the execution ...........

The out put shows it was disabled :

 - Disabling Certificate Revocation List (CRL) check...
  - Registry...
  - Machine.config files...
   - v2.0.50727...
OK.
   - v4.0.30319...
OK.
 - Done.

Any one else seeing this same issue ?
Thanks.

@brianlala
Copy link
Owner

Yeah the CRL check disabling functionality in AutoSPInstaller isn't perfect, in fact I'm not sure it's even that effective. You may need to implement one of the other recommended approaches found on the web (HOSTS file, etc.).

@UmrG
Copy link
Author

UmrG commented May 6, 2020

Wonder if this will do any thing better in addition to what we have already in the script.

Get-ChildItem REGISTRY::HKEY_USERS | foreach-object {set-ItemProperty -ErrorAction
silentlycontinue -path ($_.Name + "\Software\Microsoft
\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing")
-name State -value 146944}

I have not tested that yet, will post here if any benefit of adding this in the script.

@UmrG
Copy link
Author

UmrG commented May 15, 2020

Wonder if this will do any thing better in addition to what we have already in the script.

Get-ChildItem REGISTRY::HKEY_USERS | foreach-object {set-ItemProperty -ErrorAction
silentlycontinue -path ($_.Name + "\Software\Microsoft
\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing")
-name State -value 146944}

I have not tested that yet, will post here if any benefit of adding this in the script.

Update : Command above did not do any thing. I guess the only option for now is old manual way:
$rootCert = (Get-SPCertificateAuthority).RootCertificate
$rootCert.Export("Cert") | Set-Content C:\SharePointRootAuthority.cer -Encoding byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants