This site can’t provide a secure connection – ERR_SSL_PROTOCOL_ERROR - windows

i have a website its open source developed using asp.net core. and its already deployed on windows server 2019 and iis 10, my problem is when request the web site from my country(Jordan) its working like a charm,my problem is when request the web site from certain ISP in Germany its not working
enter image description here
any idea how to fix this issue?

According to SSLLabs your site has an IPv6 and and IPv4 address but SSL is only configured properly for IPv4. Given that IPv6 is the preferred protocol today browsers will attempt to use it if possible. The ISP you've tried so far likely did not provide IPv6 connectivity so that the connection succeeded. The ISP where it fails likely provides IPv6 connectivity.
The fix is of course either to configure both IPv4 and IPv6 properly or to make sure that your domain name does not resolve to an IPv6 address.

Related

HTTPS ESP8266WebServerSecure: how to get a client's IP address?

I have a ESP8266 HTTPS server (ESP8266WebServerSecure, core v. 3.0.2).
It works just fine but I cannot get a remote client's IP address the same way as with the plain unsecure ESP8266WebServer. The method server.client().remoteIP().toString() just returns "(IP unset)".
Please help to resolve.
It turned to be a bug in the ESP8266 core libraries. See the fix.

Azure Blob Service: Weird TLS 1.2 issue -- Looking for suggestions to investigate it

So, I've encountered a weird situation and am wondering whether you may have some suggestions as to how to investigate it...
I have a C# app that connects to Azure Blob Services using the latest SDK and TLS 1.2. When I am at home and on the Internet, I am able to upload files to blob storage without any issues. However, when I go into our office, using the same app on an office computer, I get a connection failure. I am able to access the Internet through a browser.
The networking is as simple as at my home... ISP connection, router/firewall, my computer.
I cannot imagine why enabling TLS1.2 would suddenly make my app not work in the office, but still work at home. Based on these tests, it seems like a NIC issue or an infrastructure issue at the office, but I have never heard of a NIC or router blocking TLS 1.2 outside of a VPN connection. There is no VPN involved.
I am planning on directly connecting my computer to the company's Internet connection, configuring the nic for the wan, and see what happens. If it works, then there must be something strange going on with the company's router (nothing elaborate; netgear, or such).
Has anyone encountered this issue? Seems really odd to me...
Thanks for your time and interest,
Mike
• It is not an issue with enabling of TLS 1.2 on your office network or your home network or even your Azure blob storage, it is basically related to the communication over SMB TCP port 445 from your local system to the mapped Azure blob storage on your system.
On your home network, you were able to access the blob storage and able to upload files in it because your ISP has enabled outbound communication over SMB TCP port 445 on his firewall and gateway server over the internet and thus, you were able to access the mapped Azure blob storage and upload files in it. But the same case is not valid for in your office network as it being a protected one, outbound communication over SMB TCP port 445 is restricted and not allowed.
• To test whether communication over TCP SMB port 445 can happen or not, I would request you to execute the below powershell command and check the results thereafter: -
Test-NetConnection -Port 445 -ComputerName somestoragexxx.file.core.windows.net
If this TCP 445 connectivity fails, then you could check with your ISP or your on-premises office network security is blocking communication over outbound port 445. Please note that you should open the outbound port instead of inbound port 445.
Kindly refer to the documentation link below for details to know the different ways to access files in Azure files: -
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-faq#general
Also, refer to the link below for knowing the Azure routing mechanism to reach the resources hosted on Azure: -
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview#default

Hosting Website

I'm hosting a website on Windows Server 2012 R2. I'm able to access the site with no problem via the assigned ip address and as long as I'm on my home network. However, when I try to access the site using a public ip address, it defaults to my NAS (MyBookLive).
Baffled.
Thanks.
This is intentional.
When a user connects to your ip address, any inbound requests are blocked for security. You would need to open ports on your home router (most likely 80 and 443) and direct the traffic to an internal ip address.
Even if you do this, it is very likely that it would not work. Most residential internet providers do not allow you to host web/mail servers on the internet. If someone compromises your webserver, they would have access to your entire network.
You are better off with a dedicated hosting provider (AWS, Amazon, Google Cloud).

IPv6 Compatibility for GoDaddy VPS

I have a GoDaddy VPS running Windows Server 2008, I use it to host my main website as well as the REST APIs that I use in my mobile application.
When I tried to submit to iTunes, my app got rejected due to IPv6 incompatibility. I have already added the AAAA record to my DNS, I have the domain binding in IIS on port 80 set to "All Unassigned" and the IPv6 address shows in the IIS dropdown when binding so supposedly my server has an IPv6 address.
However, the IPv6-test.com recognizes my AAAA record but the web server remains unreachable (As per the screenshot below).
Is there any specific settings on Windows Firewall or IIS that I should do? Should I add specific domain bindings for the IPv6 address?
Thank you,IPv6 Test

setting up home ftp server using filezilla

I googled, followed all the instructions but still stuck, and unable to create a home ftp server.
My internet is from dsl modem -> vonage router -> wifi router
FileZilla server ip is 127.0.0.1 and it works fine when tried from command prompt. But I need it to be accessible from outside.
I enabled ftp on wifi router's web settings page using virtual server setting.
I am stuck at this point, I don't know what else to do further. Any help is greatly appreciated.
Also, if you are planning on accessing your server remotely, (not in your network) you will have to enable port forwarding on your router. (Use the ip address of the machine running the server and use port 21) Otherwise, you only be able to connect while in your LAN.
This pretty much summarizes your needs(via lifehacker.com)
If you're FTP'ing across your home
network (like from your upstairs PC to
your bedroom PC), you can reach the
server by using its internal network
address (most likely something like
192.168.xx.xx.) From the command line, type ipconfig to see what that address
is. If you want to log into your FTP
server over the internet, set up a
memorable URL for it and allow
connections from outside your network.
To do so, check out how to assign a
domain name to your home server and
how to access your home server behind
a router and firewall.
Original Article
How to assign a domain name to your home server
How to access a server behind a router and firewall
You need to be able to access your internal network from the internet. Consider using a service like dynDNS if your router supports it.

Resources