mod_ssl for Apache2 is required for this functionality. Luckily Fedora makes it easy.
<pre><nowiki>dnf -y install mod_ssl</nowiki></pre>
In order to generate a new key and certificate pair, you must to have the crypto-utils package installed in your system.
<pre><nowiki>dnf install crypto-utils</nowiki></pre>
Ubuntu: