Last active
March 22, 2018 10:21
-
-
Save womd/40ece5a47dfcfe710b3e1edd71238006 to your computer and use it in GitHub Desktop.
Using LetsEncrypt with ASP MVC - manual mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - certificate creation on another machine than the webhost | |
| - need some linux (deb/ubuntu): | |
| apt-get install certbot | |
| command: | |
| cartbot certonly --manual //to start acme-challenge | |
| - place the file from promt with content in prompted directory on server | |
| + add a web.config to that directory with following content: | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <configuration> | |
| <system.webServer> | |
| <staticContent> | |
| <mimeMap fileExtension="." mimeType="text/html" /> | |
| </staticContent> | |
| </system.webServer> | |
| </configuration> | |
| after certs (*.pem ) have been created, combine them to pxf needed for hostin-panel-install | |
| openssl pkcs12 -export -out certificate.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment