Let's Encrypt certbot have subcommand enhance
that has a description "Add security enhancements to your existing configuration".
The only additional information that I can find in certbot's CLI help file is:
enhance: Helps to harden the TLS configuration by adding security enhancements to already existing configuration.
And still it is not clear what enchantments are added to existing configuration. Which files are modified, etc... I am particularly interested in configuration with Ubuntu + Apache HTTP Server (using --apache
option).
I couldn't find it either, so I looked at the source (and another doc) which states:
and tried it in my testing environment:
You can guess the rest of the options (didn't try them all).
It added the following lines to my sites-enabled ssl.conf:
and these in my sites-enabled non-ssl.conf: