Windows RDS Installation Notes
RDS services seem easy to install on Windows Server if you are just setting up in lab environment. Actually you might meet quite a few different issue depending on what kind of production use case is.
This blog post is to summarize some common situation when you deploy it into production.

Accsess Portal from IE
The three applications is default setting in collection settings:
Even a workgroup machine is able to access Web Portal using ie, and also launch a RDP application such as Calculator.
Manage Certificates
Several components of RDS can use certificates to provide secure communications. Self-signed certificates can be used, but they must be manually installed on clients in order to be trusted. Certificates issued by a trusted CA are automatically trusted by clients, but configuring RDS to use these certificates is not straightforward.
- https://blog.51sec.org/2020/05/install-ad-cs-certification-service-on.html
- https://blog.51sec.org/2020/08/generate-csr-from-windows-server-and.html
- https://www.youtube.com/watch?v=q79ayMhb0WU
use your member server (RDS web access server)'s fqdn name as common name.
Make sure export the private key.
6. Default is .pfx format, click next to continue the wizard

You will need to install cert into your machine which generated CSR then you can export it to pfx.
Generate pfx cert from Cloudflare Origin Server Cert and Key
- Log in to your Cloudflare dashboard.
- Navigate to SSL/TLS > Origin Server.
- Click Create Certificate.
- Choose to have Cloudflare generate the private key and CSR (Certificate Signing Request).
- Copy the generated CSR and save it to a file (e.g.,
domain.com.csr
). - Copy the generated private key (PEM format) and save it to a file (e.g.,
domain.com.pem
).
- Open a command prompt or PowerShell on your workstation.
- Navigate to the directory where OpenSSL is installed. If you don't have OpenSSL, you can download it from OpenSSL Website.
- Run the following command, replacing the file paths and passwords with your actual values:
- You'll be prompted to enter a password for the PFX file. Choose a strong password and confirm it.
- The PFX file will be created in the specified output location (e.g.,
C:/Temp/domain.com.pfx
).
- Copy the PFX file to the location on your server where it needs to be installed.
- Depending on your server software (e.g., IIS, Apache), follow the specific instructions for installing a PFX certificate.
- Cloudflare's Edge Certificates (used for the connection between Cloudflare and the user's browser) cannot be downloaded in PFX format. These certificates are specifically for Cloudflare's infrastructure.
- The Origin CA certificate you create is for securing the connection between Cloudflare and your origin server.
- You can use a tool like SSLTrust to generate the PFX file, according to SSLTrust if you prefer not to use OpenSSL directly.
Create Collection
1 Create your own templates
2 Create Own Security Policies
3 Create Own Secret folder
4 Onboard Account
Add Remote Desktop Gateway
Videos
References
- Microsoft Windows: How to Set up a Remote Desktop Services Gateway Server on a Server 2016, 2019 or 2022 https://www.youtube.com/watch?v=F_khxN40egM
- Windows Server: How to Use Trusted Certificates with Remote Desktop Services https://www.youtube.com/watch?v=vpnBZuBzkGQ
共有 0 条评论