I'm getting a warning in Rider that the IIS Developer certificate is not set up for one of my projects
"IIS Express developer certificate is not set up for https://localhost:44350. This may cause errors on project start."
When I click the option to set up the certificate I get an exception: "SSL Certificate: Certificate setup error: Cannot set up trusted certificate: Certificate not found for thumbprint "[Cert Thumbprint]" in the local machine storage"
When I open up MMC and check the certificates in Local Machine and Current User the Cert with the thumbprint in the error message is there in both Personal and Trusted Root Certs.
I am unable to run my projects in Rider because of this.
Any ideas?
I ended up removing my certificates and using Visual Studio to install and configure it again automatically for me. After that Rider had no issues.
Not really a solution to the problem, but it was the only thing that worked.
Related
I'm building a react-native-windows application using a visual studio project and trying to configure SSL certificates. I've been trying to do that using 'Package.appxmanifest' file at the 'Declerations' label.
package.appmanifest file
when running the app I'm still getting an invalid certificates error message.
I generated the certificates using the 'site information' in chrome browser: generate certificates
my question is:
Is there other way to configure SSL certifications in a visual studio project?
is there any other way to generate certificates for a certain site/API?
I installed Win 10 pro v1803 and Visual Studio 2019, and when I tried to run a newly created .NET web application, I get the following message:
This project is configured to use SSL. To avoid SSL warnings in the browser you can choose to trust the self-signed certificate that IIS-Express has generated.
Would you like to trust the IIS Express SSL certificate?
And after I click yes, I get:
Adding the certificate to the Trusted Root Certificates store failed with the following error:
The access control list (ACL) structure is invalid.
I've tried removing the certificate from 'manage computer certificates' and repair IIS Express 10 from control panel, but it didn't work.
Also, when I run another web application, that I had saved on another laptop and copied it on the current one, I don't get this error.
I had to do 3 things and it worked for me.
uninstall iis express from (control panel | Program and Features)
download and reinstall (IIS) 10.0 Express from here
https://www.microsoft.com/en-us/download/confirmation.aspx?id=48264
copy localhost certificate from
Certificates (Local computer) | Personal | certificates
and copy into
Certificates (Local computer) | Trusted Root Certification Authorities
Restart vs (i am using 2019 and vs preview 2019) and any open browsers.
I've just fixed this by exporting the certificate from Microsoft Management Console (Personal folder), but I did not delete it from the Personal folder.
I've then imported the certificate to the Trusted Root Certification Authorities, restarted the computer, opened Visual Studio, ran the project, ignored the warning and it worked.
How to install SSL certificate from Let's Encrypt for Bot deployment in Windows 8.1 for Visual Studio 2015.
Can anyone help me on this issue?
You get issues, as certificate of Let's Encrypt is not allowed yet in Bot Framework.
Bot Framework allows only X.509v3 certificates and
the certificate must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here.
I am trying to publish a small Microsoft Office customization using Visual Studio 2013. I purchased a code-signing certificate from GoDaddy (issued by Starfield Technologies) and used it to sign the program. However, when a user tries to install the ClickOnce Manifest, they get the following error:
Customized functionality in this application will not work because the
certificate used to sign the deployment manifest for RiskMP or its
location is not trusted. Contact your administrator for further
assistance.
The program is being downloaded from the same server from which the private key was generated and the same URL that was specified in the publish.
The only solution I have found so far is to add the URL to the list of trusted sites in IE internet options, but this isn't a very good solution as it requires a lot of steps on the part of the user. I'd like to simplify this installation as much as possible. Any help is greatly appreciated.
I have a VS 2008 Setup Project created. I am trying to install this on a Windows 7 machine as a Standard User. I am getting a warning during install about an unknown publisher. I have used makecert to create a certificate, then converted it to a password pfx file. I have digitally signed the msi and setup.exe with the pfx file. When I go into the file properties, I can see the digital certificate attached. On the Windows 7 machine, I imported the pfx file to "Trusted Publishers". What do I need to do to get rid of the warning? I can't have the admin user and password required to install the app. I can't change the UAC settings. I need to make the change to the certificate / setup files to get this to work.
Makecert creates certificates only for testing purposes. To sign your installer you need a real certificate purchased from an official authority. You can try purchasing one from Verisign or Comodo.
Windows UAC recognizes only real certificates.