4

!help

Does anyone know how to use certbot on a Debian stretch azure web service app to generate an SSL cert?

I've got the cert generated and Apache to serve it but it's giving me errors.

I need to bind it in azure somehow but I can't figure out how to export the cert.

Comments
  • 0
    im not familiar, but couldnt you use a command line utility to get the cert with letsencrypt then just upload it?
  • 0
  • 0
    well, what error does it give to you? the most usual error is that it cant actually reach the verification folder, e.g dot folders are ignored in your config.
  • 1
    You can start by giving us the errors....
  • 1
    @linux @JoshBent @calmyourtities thanks all for your help... I just ignored all the fancy dancy options and ran it as certbot certonly which gave different options including one to spin up its own webserver (Apache plugin was the culprit)

    Got it to certify and then used openssl to export it as a pxf which azure has accepted.

    All's well, I just gotta figure out the RewriteCond and rule to move all the non www traffic to the www site so they don't get an invalid cert and I'm golden.
  • 1
    M8, buy a real certificate so you dont need to do that every 3rd month
  • 2
    @Linux ugh I know but I refuse to buy in to that racket... Besides the cert will renew automatically I've got that much set up at least
Add Comment