Updating Diffie-Hellman Parameters
If you test your server using the SSL Labs Server Test now, it will only get a B grade due to weak Diffie-Hellman parameters. This effects the security of the initial key exchange between our server and its users. We can fix this by creating a new dhparam.pem file and adding it to our server block.
Create the file using openssl:
sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048