How to generate a new Diffie-Hellman Group

Recently there has been a new hack to break secured traffic when using the Diffie-Hellman key exchange in combination with a weak group param. To generate a new one, use this command:

To include it in Apache, use

…or nginx

More information can be found on this page:

Why replacing Apache by nginx improves SEO

I recently switched to nginx from Apache webserver and noticed improved SERP. Google’s Webmastertools show you why: Google gives your website a measured contingent of time its bot crawls your site. nginx’ reponse time is like 4 times faster than Apache, thus Google can crawl more content. Besides that, Google (mainly AdSense) lowers your website’s…