By using the below command, I’ve created an SSL certificate. As the common name, I’ve given the IP address of the server.
openssl req -new -newkey rsa:2048 -nodes -keyout localhost.key -out localhost.csr
And using the below, I’ve signed by myself.
openssl x509 -req -days 365 -in localhost.csr -signkey
localhost.key -out localhost.crt
After all, I’ve realized that I’m unable to use an SSL certificate with just an IP address as a common name. This way, the browser does not trust my certificate because it’s signed by me. What I want to do is to revert this process. I’d like to keep using http as I’ve been doing before. How can I remove the SSL that I’ve created in this process?
OS: Ubuntu 18.04 LTS
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
After deciding that I don’t want the SSL certificate I’ve generated, I’ve deleted the certificate and it became invalid. Since I’ve had several approaches to create a certificate for the domain, there might be another reason why this is the case. Problem solved for now.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.