webroot = "/var/lib/acme/acme-challenge";
email = "ismael@bouya.org";
postRun = ''
- systemctl reload httpd.service
+ systemctl reload httpdTools.service httpdInte.service httpdProd.service
'';
plugins = [ "cert.pem" "chain.pem" "fullchain.pem" "full.pem" "key.pem" "account_key.json" ];
};
};
config = {
- # FIXME: doesn't work with httpd?
security.acme.preliminarySelfsigned = true;
security.acme.certs = {
- # FIXME: /!\ To create a new certificate, create it before using
- # it in httpd
"eldiron" = config.services.myCertificates.certConfig // {
domain = "eldiron.immae.eu";
- allowKeysForGroup = true;
};
};
};