I have ASP.Net website hosted on one VM on MS Azure and connected to my website domain www.example.com on GoDaddy. I want to use letsencrypt certificate for my website. I have searched and found that I can use ssl certificate only with Web App on Azure, I have created web app and will use ssl certificate with, but still my vm url is linked with godaddy domain, hence how can I make requests coming to my website to go to my web app that is using ssl certificate, then redirect request to vm url or public IP ?
How to use external letsEncrypt SSL certificate to my website on Azure vm
305 Views Asked by Mansour Shaaban At
1
There are 1 best solutions below
Related Questions in SSL
- How to Fix TLS CBC Incorrect Padding Abuse Vulnerability on Windows 2003 Server
- SSL: Error parsing the certificate: Ok
- PHP mysqlnd sha256_password plugin "Access denied", user works from cli mysql
- CFNetwork SSLHandshake failed iOS 9
- Java does not accept 2 methods with same name
- Expected Compatibility Issues with upcoming TLS/SSL Cipher Suite update on Azure WebApps?
- python requests SSLError
- Connecting via mutual SSL fails reading incoming changeCipherSpec
- HTTP to HTTPS mapping using proxy servers
- Ruby on Windows XP: How to change directory of SSL certificates
- KeyStore file is not found in jar, although present in jar
- How do I accept a self-signed SSL certificate using iOS 7's NSURLSession
- Chef remote_file from https site with self signed certificate
- Meteor force-ssl on a staging system without ssl cert?
- Use python SSL to download google.com.au page
Related Questions in AZURE-WEB-APP-SERVICE
- How To Update a Web Application In Azure and Keep The App Up the whole time
- How do I deploy a node.js app to azure if it contains private npm modules
- Redirecting subdomain to directory on Azure
- Expected Compatibility Issues with upcoming TLS/SSL Cipher Suite update on Azure WebApps?
- Azure Wordpress deny xmlrpc
- Deploy yeoman angular-fullstack project to Azure
- Change load-balanced server for Azure web site?
- Run MSBuild from powershell without specifying .Net version
- Access to my Azure web site without ftp
- Access Registry From WebJob/WebApp
- 403 Access denied for DELETE Request .Net Web Api Rest Service on Azure
- Azure web app - cookie cached on server
- Azure WebApps - cannot load ServiceRuntime after upgrade to Azure 2.6
- Azure publishsettings file Fails to Import Using Eclipse
- npm install -g fibers fails on Azure Web App
Related Questions in AZURE-WEBAPPS
- Provide App service security in Azure solutions
- Can't obtain Azure Oauth V2 access token in C#
- Azure WebApp with private Api backend
- How to display images in cshtml page after joining two path and converting to base64 in mvc?
- Add new Virtual Directories to an Azure WebApp programmatically
- Azure Web App webconfig "Virtual applications and directories"
- Deploy the Static Azure WebApp from Dropbox
- I am seeing 502 errors reported in Diagnose and Solve for my Azure App Service
- How to delete folder and files of Azure web app using webjob
- Azure Web App failing to start after adding Microsoft.Identity.Web reference (Could not load file or assembly 'Microsoft.IdentityModel.Logging))
- how to configure to return 408 instead of 500 when Azure web app request timed out in 230 seconds
- Cannot create java function in azure function app
- How to put path of the app.py file in the command 'python -m uvicorn app:app --host 0.0.0.0' considering app.py lies inside a folder named 'test'
- Asure deployed app, Hostinger hosted, website accessibility issue different geographies/locations
- Deploy React App to Azure Web App - "There is not enough space on the disk"
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can install and configure the SSL certificate on your virtual machine (VM) in Azure directly if you're hosting an ASP.NET website there and would like to use an SSL certificate created with Let's Encrypt without using Azure App Service. The general steps to do this are as follows:
Obtain an SSL certificate from Let's Encrypt: To begin, get an SSL certificate from Let's Encrypt. To generate the certificate, you can use Certbot or any other ACME client. Ensure that the certificate files—fullchain.pem and privkey.pem, on average—are prepared.
Make sure your ASP.NET website is prepared to use SSL by making it secure. Modify your programme to listen on port 443 (HTTPS), then set up your web server (such as IIS) appropriately.
Move the privkey.pem and fullchain.pem Let's Encrypt certificate files to your virtual machine. To safely copy the data to your virtual machine, you can use programmes like SCP, SFTP, or secure copy.
You must install the SSL certificate on your virtual machine. Depending on the web server software you're using, the procedures for doing this may change. The following are some general IIS guidelines:
Start your virtual machine's IIS Manager. Choose your website from the pane on the left. Under "Edit Site," in the right pane, select "Bindings." Create a new binding using port 443, the IP address, and Type: https. Click on the "SSL certificate" dropdown menu and choose "Import." See and pick the certificate files that you transferred to the virtual machine.