Hello to all,
I have deploying my spring boot rest application in my debian 10 server and I make differents api rest call with http://my_ip_address:8080 but the problem is that in my angular web client who differents user make requests I have enabled the ssl certificate to establish the secure navigation for them and now I can’t call my services with http protocol.
And when I try to generate the ssl certificate with openssl, the web browser bloc always the rest api call and tell that the certificate didn’t provide from the competent authority.
My question is how can I do to generate the ssl certificate for my public IP address for my droplet.
Thanks
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @sinclairjaza,
I would recommend taking a look at this answer here by ryanpq:
https://www.digitalocean.com/community/questions/ssl-for-ip-address
He mentions that unfortunately the free LetsEncrypt CA does not support this which leaves you with two options:
Create a self-signed ssl certificate. This has the benefit of being free and fairly easy to set up but will result in a security warning in most browsers since they look for a trusted authority to have issued the certificate. If you are creating this for internal use this may be the best option.
Purchase an SSL certificate from a provider. For this I’d recommend reaching out to a few providers to find one that will support issuing a certificate for your public IP address.
Hope that this helps! Regards, Bobby