ght-acme.sh icon indicating copy to clipboard operation
ght-acme.sh copied to clipboard

challenge processing for Apache

Open abochmann opened this issue 10 years ago • 0 comments

I whipped up something similar to your idea from verification.md a couple of days ago, with php:

RewriteEngine on
RewriteRule ^/.well-known/acme-challenge/(.*)$ /acme-challenge.php?challenge=$1&thumbprint=<output of letsencrypt.sh thumbprint> [L,B]

acme-challenge.php:

<?php
print "$_GET[challenge].$_GET[thumbprint]"
?>

abochmann avatar Dec 18 '15 00:12 abochmann