Ask a question+
$98.28macOS what is the correct way to make self-signed certificate as trusted for local development
I am trying to set up local https for my project. I have macOS 10.14.2. Before this, I was successfully added a few self-signed certificates by generating the Certificate and Key files, then configuring Nginx virtual host (I guess the same is for apache) and finally adding the certificate into keychain rebutting. Now it keeps showing that certificate is not valid, maybe something has been changed in macOS?
The way I have done this before is as follows:
Assuming I have the Which command installed:
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
openssl rsa -passin pass:x -in server.pass.key -out server.key
openssl req -new -key server.key -out server.csr
openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
This will generate a .crt file that will be valid
- 1Which is the right way to reflect already pushed changes to local branch?
- 1How to make redirect to occur in an exact time
- 1How to make git commands shorter
- 3Make a website page refresh everyone 5 seconds
- 1How to run symfony application with https in local environment
- 1How to make my footer cover 100% height and width of the page from top?
- 4How can I rename git local and remote branch name?
- 1How to rename Git local and remote branch name?
- 1How to rename a local Git branch?
- 1Make bootable usb on linux
- 1How do I rename a local Git branch?