Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

> SSL for IP address, tomcat 8

views
     
TSlonganman
post Aug 2 2018, 02:06 PM, updated 2y ago

Getting Started
**
Junior Member
85 posts

Joined: May 2008
From: Petaling Jaya (Malaysia)


Hi everyone,

looking for advise on setting up self-signed SSL for tomcat without a domain name (using IP)
My current https website frontend is unable to call my http api server is on Gcloud using IP : x.x.x.x (requires Https on api server as well)

would appreciate a helping hand.

Much thanks.


WongGei
post Aug 2 2018, 02:53 PM

Enthusiast
*****
Senior Member
903 posts

Joined: Dec 2007
From: Kuala Lumpur
certificate is signed using a domain name, not IP address.
You can get free cert here. https://letsencrypt.org/
lee.wp14
post Aug 7 2018, 05:38 PM

New Member
*
Newbie
16 posts

Joined: Feb 2017
From: Penang, Malaysia


QUOTE(longanman @ Aug 2 2018, 02:06 PM)
Hi everyone,

looking for advise on setting up self-signed SSL for tomcat without a domain name (using IP)
My current https website frontend is unable to call my http api server is on Gcloud using IP : x.x.x.x (requires Https on api server as well)

would appreciate a helping hand.

Much thanks.
*
Hey,

This thing happened to me too, and I came across this software to fix my problem rclxm9.gif :
https://certbot.eff.org/
It works perfectly for my AWS EC2 ubuntu php server with a fixed IP address. You can have a look how the certificate looks like through browser here :
https://leewp14.nsupdate.info/rem-official/ (now I use ddns service to get a pretty hostname :3 thus not self-signing server IP now)
Additionally, this certbot has a cron job to autorenew the ssl cert (which expires every 90days), thus you no need to manually renew the cert.
My situation is kind of same with you haha, http is my api server and https frontend wouldn't send request to it, I almost try to turn my website to http in order to have my api work with my site bangwall.gif

 

Switch to:
| Lo-Fi Version
0.0276sec    1.35    5 queries    GZIP Disabled
Time is now: 20th February 2020 - 02:48 AM