SSL (https) Refuses to load website in IPv6 network Digitalocean - ssl

SSH files (https://) not working in ipv6 enabled droplet.
We using Comodo PositiveSSL files. Once we remove the ssl files it's works fine with http://
Error that shows in website is,
This site can’t be reached www.website.com refused to connect.
ERR_CONNECTION_REFUSED
Any thoughts would be greatly appreciated and DO community support not able to cover this much technical info so please I appreciate your feedback.
Thanks!

I think the problem is not with your SSL , the port on which your site is running on HTTPS is not opened on the network , and may be that's causing the issue . Try the same website on HTTPS from a normal internet connection (That means outside your work network, if you are inside a one ) and if it works ,then you need to open the port on which your site is running on HTTPS . Or if you are sure that your port is accessible, then try to clear browser cache and retry . Let me know if that helps :)

Related

Localhost is not displaying incoming https

I am using MAMP as my local host and PHP 7.3.8 as my localhost.
On my site I am trying to connect to google maps as follows:
$url = "https://maps.googleapis.com/maps/api/distancematrix/json?origins=$postcode1&destinations=$postcode2&mode=driving&language=en-EN&sensor=false&key=MY-API-KEY"
$data = #file_get_content($url)
However for some reason the connection is not established
when I try this on a live site (using GoDaddy as a server) all is well and I get the wanted result.
I have tried to switch on allow_url_fopenin the php.ini and have checked the firewall on my localhost and made sure the ports are open, however no joy.
Anyhelp to solve this problem welcome

Installing SSL on WAMP Server - Can Only Connect via HTTPS Sometimes

I am currently trying to install a self-signed SSL certificate on a wamp server (running apache 2.4.2).
I have almost word for word followed this answer to do so.
When trying to connect via https:// on chrome it nearly always fails, returning ERR_CONNECTION_CLOSED or ERR_CONNECTION_ABORTED but if you keep refreshing, it will sometimes connect as expected (though only 1 in 20 at best...)
I'm not particularly experienced with any of this, but if anyone can point me in the direction of something I may be doing wrong then that would be much appreciated!
If your server is up and you are able to browse the website with http:// then you need to check if the port 443 is open or not. Also, if you have proxy, firewall and load balancer then you need to check that port 443 is open on the same

SSL certificate configuration

I have successfully added SSL certificate to my url. now url is "https://puinex5xgm-l1". Its working fine on browser. but whenever I try to add port to this ulr "https://puinex5xgm-l1:90/" its giving me "SSL connection error ERR_SSL_PROTOCOL_ERROR". My apache server is running on port 90.
While creating certificate I have used domain name as "puinex5xgm-l1".
Please help.
ERR_SSL_PROTOCOL_ERROR is not related to the certificate. My guess is that you don't have https on port 90 enabled but instead plain http, which then will cause such an error.
I have found the solution.
I have made changes in "httpd-ssl.conf" file. Here, I have used "VirtualHost default:90" instead of "VirtualHost default:443".
Now Apache server listening my port.
Its working fine now.

Possibly Port Error

I already installed Tomcat server while developing my java web app. But I also needed to get access to my database using PHPMyAdmin and install MySQL as well, so I downloaded XAMPP. I cannot disable apache server since I already have Tomcat. Now my struggle is, I cannot open
"localhost:8080" which was my original port. It's now replaced with simply "localhost".
Can you help me fix this error? THANK YOU :D
Sounds like you now have:
Tomcat serving traffic on port 8080, as it always has (at http://localhost:8080)
Apache/XAMPP serving traffic on port 80 (at http://localhost, obviously with the port missing since 80 is the default http port)
Assuming that's the case, you don't have a problem. Serving http traffic from different ports on the same host is not an issue.

Cloudflare over https without port 443 on server

i got a problem with my hosting provider (Mittwald) and Cloudflare.
Over Cloudflare i wanna use the flexible SSL
Cloudflare says:
Flexible SSL: There is an encrypted connection between your website visitors and CloudFlare, but not from CloudFlare to your server.
So if i understand it right, thats exactly what i want!
The User accesses the website over https://example.com but cloudflare is communication with my site over http://example.com so that the not opened port (443) from my provider is not needed?
unfortunately that doesn't work till now... i allways get an error like
err_connection_refused
Any help or hint would be great!
thanks in advance!
That would indicate your site hasn't yet propagated to go through CloudFlare's DNS and is pointing to your local site (where the port is closed and the connection is refused). If SSL is disabled on CloudFlare you would get a protocol error instead.
Therefore the best option would be, if you've waited for the DNS to propagate, to contact CloudFlare support.