Moodle virtualhost and letsencrypt

Working on virtualhost and moodle with @areguera , we would use the default ssl certificate. If to retrieve it is not difficult

+  my $cert = $pki{'CrtFile'} || "/etc/pki/tls/certs/NSRV.crt";
+  my $key = $pki{'KeyFile'}|| /etc/pki/tls/private/NSRV.key;

+    SSLEngine on
+    SSLCertificateFile "$cert"
+    SSLCertificateKeyFile "$key"

my interrogation is against letsencrypt, does lentsencrypt will store the certificate path under ‘CrtFile’ and ‘KeyFile’ @davidep and @giacomo

1 Like

Of course, if letsencrypt is marked as the default cert :slight_smile: