In order to get a SSL certificate, a domain pointing to the server that required the certificate is needed.
For this example, the domain *.slaptext.erp5.net will be used. It points to a sample server at 126.96.36.199. DNS Updates have to be made with the domain/hosting provider. In the present case, we need to add the following A record to the DNS settings on the provider's web dashboard:
*.slaptest.erp5.net CNAME IN A 188.8.131.52
DNS changes usually take up to 48h to propagate. To verify availability, it is possible ping the domain using the terminal:
$ ping a.slaptest.erp5.net
PING a.slaptest.erp5.net (184.108.40.206) 56(84) bytes of data.
64 bytes from ip-167-114-246.eu (220.127.116.11): icmp_seq=1 ttl=52 time=21.1 ms
64 bytes from ip-167-114-246.eu (18.104.22.168): icmp_seq=2 ttl=52 time=17.1 ms
64 bytes from ip-167-114-246.eu (22.214.171.124): icmp_seq=3 ttl=52 time=17.2 ms
--- a.slaptest.erp5.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 17.103/18.528/21.186/1.881 ms