Quantcast
Viewing all articles
Browse latest Browse all 1535

How to Create HTTPS SSL Certificate on MacOS?

I am using MacOS 15.0 and need to set up a SSL ASP.NET Core developer certificate in order to work on my current project in the Rider IDE. I have no localhost or ASP.NET certificate preexisting in my keychain, but every time I try to run the command(s) in order to create a SSL certificate, I will get an error message such as:

There was an error creating the HTTPS developer certificate.

There are also screenshots with the errors from the IDE and console.

error in console

I have already tried to set up / create the certificate manually in the keychain and running commands in the console, but as soon as I get to the part to import the .pfx file to the keychain ("sudo security import ~/localhost-dev.pfx -k ~/Library/Keychains/login.keychain-db") I will also get an error message despite of using the right / using no password:

security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

Viewing all articles
Browse latest Browse all 1535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>