Artenuvielle.6025 Posted July 19, 2018 Share Posted July 19, 2018 When sending looking up the DNS entry of api.guildwars2.com you get two entries (https://mxtoolbox.com/SuperTool.aspx?action=a%3aapi.guildwars2.com&run=toolpage):A 34.226.105.80 (https://34.226.105.80/)A 54.85.19.255 (https://54.85.19.255/)However when trying to access the API by either of these an unsafe SSL certificate is returned and when continuing the server returns 403 - Access denied.Is there any way of accessing the API directly by IP? Link to comment Share on other sites More sharing options...
darthmaim.6017 Posted July 19, 2018 Share Posted July 19, 2018 No. You can hardcode the IPs though, for example by adding them to /etc/hosts, using a custom DNS server or overriding the name resolution of the language/framework/... you are using.There is no guarantee that these IPs remain the same in the future though, so hardcoding the IPs is not adviced. Link to comment Share on other sites More sharing options...
Nokomis.5076 Posted July 19, 2018 Share Posted July 19, 2018 @"Artenuvielle.6025" said:However when trying to access the API by either of these an unsafe SSL certificate is returned and when continuing the server returns 403 - Access denied.They are only "unsafe" because the IP is not the hostname which is written in the SSL certificates fields to which host the certificate belongs. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.