Hello zai chen,
Thank you for posting in Q&A forum.
It looks like you're experiencing an issue when trying to access an HTTPS URL. The error message SEC_E_INTERNAL_ERROR (0x80090304) - The Local Security Authority cannot be contacted
is related to the Secure Channel (Schannel) security package on Windows.
Here are a few troubleshooting steps you can try:
- Update Curl:
Ensure that you are using the latest version of curl. Outdated versions might have bugs or compatibility issues with certain SSL/TLS configurations.
- Check Schannel settings:
Sometimes, Schannel settings in the Windows registry can cause issues. You can try resetting these settings to their defaults. Be cautious when editing the registry and consider backing it up first.
To reset Schannel settings:
Press Windows Key + R
, type regedit
, and press Enter.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL
.
Check for any custom settings or subkeys (e.g., Protocols
, Ciphers
). If there are any, consider researching them online or backing them up before making any changes.
- Check the Windows Root Certificate Store:
If the site's certificate chain requires certain CA certificates that are not present in the Windows Root Certificate Store, the TLS handshake can fail. You can update the Windows root certificates through Windows Update.
- Firewall/Security Software:
Sometimes, firewall or security software can interfere with SSL connections. Try temporarily disabling them to see if it resolves the issue.
- Test on another machine:
If possible, test the same curl command on a different Windows machine to check if the issue is specific to your current setup.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.