Unable to load user-specified certificate in event log although SSL certificate is installed



  • Unable to load user-specified certificate [Cert Hash(sha1) "SOMERANDOMHASH"]. The server will not accept a connection. You should verify that the certificate is correctly installed. See "Configuring Certificate for Use by SSL" in Books Online.

    I am getting this error even though it's installed.

    https://dh2i.com/kbs/2121469-how_to_configure_ssl_certificates_for_microsoft_sql_server_with_dxenterprise/

    I even followed both methods to install it, one through pfx and the other with snap-in, and then modified the regedit entry before restarting MSSQL through the SQL Server Configuration Manager, but it won't restart. Is there a reason for this and are there ways to investigate what's going on? I installed on production, but it doesn't work on the staging environment.



  • https://stackoverflow.com/questions/36830411/how-can-i-give-sql-server-permission-to-read-my-ssl-key

    In my case, it's the permission for the certificate that was missing. So I went to Services.msc, and then went to the permission modal and then searched through the whole computer (by default it's set to mycomputer.local instead of the whole computer), and then found the matching user and then gave it read access to the certificate and then simply restarted the SQL Server.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2