Hey guys,
I have been working on a project which I decided to upload to digitalOcean.
I have an App for my client and a droplet for my server. When I visit my clients webpage and I make a request to the server ( https://ipadress:80/api-route ) I get ERR_SSL_PROTOCOL_ERROR, same happens when I try to visit the route directly.
How I understand the problem is that my server needs to have an SSL certificate set up but as the server is just an IP adress and does not has a domain how will I be able to fix the issue?
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!
You can’t have an SSL certficate on an IP address. Additionally, you won’t be able to use port 80 and https together.
First, I’ll recommend using a domain name and secondly, if you need to use a specific port like so https://domain:80/443/9000 then I’ll recommend using Nginx as a reverse proxy as well.
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.