How to install free SSL certificate RRS feed

All replies

  • User409696431 posted

    Can you put the file where it is looking for it?

    Otherwise, this is a zerossl question, not an asp.net question, and their own documentation provides two options.  Use DNS verification if you can't put a txt file where they are looking for it:

    "The certificates are of Domain Validated (DV) type. That means you will only need to confirm your ownership of the domain name. The confirmation process is very simple and there are two options to choose from: DNS verficiation and HTTP verification. The former requires creating a specific DNS record of TXT type for the domain. The latter requires creating a plain text file with a specific content on your web server. Choose the option you are most comfortable with - normally all registrars provide a way to edit DNS records, but you might like creating a text file better. DNS verification also might take a bit longer depending on how quickly your registrar's servers publish the changes (usually within 15-20 minutes), while HTTP verification can be instant."

    Wednesday, March 25, 2020 4:09 PM
  • User415553908 posted

    ACME protol implies you will have some sort of automation in place to handle challenge-response for you. One option is Certbot.

    To bring it into context of your ASP.NET application, you will likely have to install a reverse proxy (nginx for example) in front of it and configure it to play nicely with certbot

    Wednesday, March 25, 2020 4:28 PM
  • User-1519541919 posted

    Another option would be to put file into webfoot folder (wwwroot by default) and enable static files:

    app.UseStaticFiles(new StaticFileOptions()
    FileProvider = new PhysicalFileProvider(),
    RequestPath = new PathString("/.well-known/acme-challange")

    Thursday, January 14, 2021 10:49 AM