Upon completion of this course you should be able to:
Course Prerequisites:
NAS 224: Remote Access - Manual Connect
Students are expected to have a working knowledge of:
DDNS
1. Introduction
2. Enabling HTTPS and DDNS
2.1 Enabling HTTPS Connections in ADM
2.2 Enabling HTTPS for the web server
2.3 Configuring DDNS
3. Adding a Signed Certificate
3.1 Manually importing a certificate
3.2 Getting a certificate from Let's Encrypt
HTTPS (also called HTTP over TLS, HTTP over SSL, and HTTP Secure) is a protocol for secure communication over a computer network which is widely used on the Internet. HTTPS consists of communication over Hypertext Transfer Protocol (HTTP) within a connection encrypted by Transport Layer Security or its predecessor, Secure Sockets Layer.In its popular deployment on the internet, HTTPS provides authentication of the website and associated web server with which one is communicating, which protects against man-in-the-middle attacks.
Note: Within a local network, connecting to your NAS with its local network IP through HTTPS will produce an error message informing you the connection is not secure. This is normal. You can just use HTTP connection instead within a local network.
The following are the most common connections using HTTPS on ASUSTOR NAS:
Current web browsers have strict restrictions on HTTPS connections. To connect to ADM or a web server through a DDNS URL using HTTPS, a valid TLS/SSL certificate for domain name must be set.
To decrease the risks to your NAS when exposed to the Internet, it is advised that the default values for HTTP and HTTPS ports be changed.
ADM 5.1.2:
Before applying for a valid SSL/TLS certificate, you need to set up DDNS first. Click here to configure DDNS settings.
There is a default ASUSTOR signed certificate built into ADM, but browsers will not trust this certificate because it is not signed by a third party. Therefore, when you connect to your ASUSTOR NAS using HTTPS, you will see a privacy error message. (Shown in the graphic below using Google Chrome as an example)
You can click on the "Proceed to x.x.x.x (unsafe)" link to skip past page and log in to ADM. However, in order to correctly verify the identity of your ASUSTOR NAS and ensure secure communication, you must get a signed certificate from a trusted certificate authority and import it into ADM.
If you already have a registered domain name, and have a signed certificate from a certificate authority, you can use the following steps to import the certificate into ADM.
If you haven't applied for a valid certificate for your domain name from a trusted certificate authority, click here to obtain a certificate from Let's Encrypt.
STEP 1
STEP 2
STEP 3
STEP 4
Let's Encrypt is a free, automated, and open certificate authority (CA), that provides a trusted certificate for free to anyone who owns a domain name. Let's Encrypt issued certificates are recognizable by all Web browsers. The Certificate Manager in ASUSTOR NAS can directly connect to Let's Encrypt to generate a valid certificate and install it automatically. This helps you to enhance NAS security with an SSL connection in a fast and easy way at zero cost.
DNS Challenge support for myasustor.com on ADM 4.1 makes connecting to your NAS securely even easier. Port 80 no longer needs to be forwarded for Let's Encrypt certificates.
Please enable the web server in ADM and ensure that port 80 or another port that is set in your router is used for the web server. It does not have to use the default port. The default port number is 80.
Port 80 will be used to perform domain authentication while Let's Encrypt grants and renews certificates. Please be sure that your router forward port 80 correctly to your NAS for remote connection.
Certificates for HTTPS connections only protect DDNS external connections through DDNS. When entering the NAS URL to connect to your NAS, a colon followed by the port number found in Settings must be used to connect to your NAS. Example: https://nasurl.myasustor.com:8001
Within a local network, connecting to your NAS with its local network IP through HTTPS will produce an error message informing you the connection is not secure. This is normal. To continue to ADM, you may need to override this message. In Chrome or Edge, you may need to press "Continue to x.x.x.x (Unsafe)" after showing advanced and in Firefox, you'll need to press "Accept the Risk and Continue".