Enable SSL without specifying cert locations?


Is there any way to enable SSL without specifying the paths to the cert files? I am using Apache mod_md to manage Let’s Encrypt certs, which handles all the SSL foo outside of the VirtualHost blocks. I need to have an ondemand virtualhost config generated that redirects http to https and then lets mod_md manage the certs. I’m not seeing any obvious thing to put in the ssl: section of ood_portal.yml that will do this.



I should have tried more guesses, turns out I can put in dummy entries as comments in that section and it does the right thing.

  - '# SSLCertificateFile "/nothing/to/see/here.pem'
  - '# SSLCertificateKeyFile "/nothing/to/see/herekey.pem"'
1 Like