How to secure WordPress Admin with HTTPS – Self-signed certificate

A little security is better than no security :D If you are self hosting a wordpress.org blog on some shared server or VPS it is good idea to secure the Admin panel using HTTPS. I have recently enabled this security on this blog by using self signed certificate. Before we dig into details lets check some basics of SSL or HTTPS.

What is SSL?

SSL is the standard for exchanging information securely–via cryptographic encryption–between a website and the browser. SSL is a way to establish a trusted connection between the server and a web browser. Once that relationship is in place the server will encrypt data before transmitting it in a way that only its intended recipient i.e. browser can decrypt it.

This method of security accepts the fact that any data transmitted over the internet can, and likely will be, intercepted at anytime by a hacker or a government agency fishing for information. By sending the data encrypted, we ensure that if anyone but the intended recipient gets the data they will have what is effectively gibberish. Giving them gibberish is preferable to giving them confidential correspondence, private records, credit card numbers or any other private data.

Using SSL requires that your server has a valid SSL certificate installed. An SSL certificate, which must be purchased, tells the browser important details about your sites security. In most browsers, when you go to a secure site, you will see a lock or similar icon in the address bar, showing you details about the SSL certificate.

google-ssl-https

Once your SSL certificate is installed, when someone visits your website they will be able to access it via secure HTTP, or HTTPS. When we say “using SSL” what we mean is that the exchange of information between the server and browser is happening via the HTTPS protocol instead of the unsecured HTTP protocol. Doing so requires a valid SSL certificate.

What are Self-signed certificates?

As noted earlier in order to secure a website using HTTPS we need an SSL certificate. Usually to build the trust, the SSL certificate is issued from an authority known as Certificate Authority (CA) like Verisign. These CA issued certificates are also known as signed certificates. As they are usally issued by verifing the domain authority and business. Depending upon which CA is used, the domain is verified and a certificate is issued. Verisign and other more trusted CAs will verify the existence of the business in question and the ownership of the domain to provide a bit more security that the site in question is legitimate.

Due to all these varification steps, the signed certificates are not free. You have to pay a yearly fee to get a signed certificate from CA. To avoid this, self signed certificate can be utilized. Self signed certificates are exactly similar to signed one in terms of security. The only difference is that user will see a warning in most mordern browsers if the site they are visiting is signed using self-signed certificate. So self signed certificate are best suited from test servers, Intranet applications or admin consoles for self hosted wordpress.

How to create Self-signed certificates?

First step to secure your wordpress admin panel using HTTPS is creating a self-signed certificate. There are number of tools you can use to generate certificates (openssl, Java keytool, Adobe Reader, Apple keychain). We will stick to the most common tool available on linux flavors like Ubuntu – openssl. Let’s get started.

Step 1: Verifiy is Openssl is installed

First check if openssl is available. Run following command and see if it gives openssl folder.

$ which openssl
/usr/bin/openssl

If openssl is not available then install the same using apt-get:

$ apt-get install openssl

We have openssl installed so lets proceed with other steps.

Step 2: Generate an RSA private key

First generate RSA private key using openssl. This key is a 1024 bit RSA key which is encrypted using Triple-DES and stored in a PEM format so that it is readable as ASCII text.

$ openssl genrsa -des3 -passout pass:x -out server.key 1024
Generating RSA private key, 1024 bit long modulus
...++++++
....++++++
e is 65537 (0x10001)
$ 

Private key is generated in file server.key.

Step 3: Remove Passphrase from server key

We need to remove the Passphrase from the server key. Otherwise everytime when Apache server will restart we have to enter this key. Its better we remove the passphrase key.
First create copy of server.key file.

$ cp server.key server.key.out

Next remove the passphrase key and overwrite it on server.key.

$ openssl rsa -passin pass:x -in server.key.out  -out server.key
writing RSA key

Remove temporary file server.key.out

$ rm server.key.out

Now all we have left with is a server.key without any passphrase.

Step 4: Generate a CSR (Certificate Signing Request)

Let’s now generate a CSR file which we later use to create certificate. The CSR is used in one of two ways. Ideally, the CSR will be sent to a Certificate Authority, such as Verisign who will verify the identity of the requestor and issue a signed certificate. The second option is to self-sign the CSR, which will be demonstrated in the next section.

$ openssl req -new -key server.key -out server.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:IN
State or Province Name (full name) [Some-State]:Karnataka
Locality Name (eg, city) []:Bangalore
Organization Name (eg, company) [Internet Widgits Pty Ltd]:ViralPatel.net
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:viralpatel.net
Email Address []:viralpatel.net@gmail.com

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: 
An optional company name []:

Step 5: Generate SSL self signed certificate

Let us generate the certificate using CSR and private key we created earlier.

$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Signature ok 
subject=/C=IN/ST=Karnataka/L=Bangalore/O=http://ift.tt/1dfuIzm
Getting Private key

Now we should have 3 files present in current directory.

$ ls 
server.crt  server.csr  server.key

server.crt is the self-signed certificate and server.key is the private key.

Securing WordPress Admin with HTTPS

We can now install it in Apache and configure wordpress to use it.

Step 1: Moving the certificates to apache folder

Copy the newly created certificate and private key file in Apache’s SSL configuration.

$ cp server.crt /usr/local/apache/conf/ssl.crt
$ cp server.key /usr/local/apache/conf/ssl.key

for Ubuntu

$ cp server.crt /etc/ssl/certs/ssl.crt
$ cp server.key /etc/ssl/private/ssl.key

Step 2: Configure Apache to use SSL certificate

Let us enable the Apache’s SSL module and default-ssl site.

$ sudo a2enmod ssl
$ sudo a2ensite default-ssl
$ sudo service apache2 restart

Once you do that you will see /etc/apache2/sites-available/default-ssl file available in apache. Open the file and check if DocumentRoot is pointing to corrrect root.

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/<user>/public_html/ 
        <Directory />
                Options FollowSymLinks 
                AllowOverride None
        </Directory> 

Almost done. Now enable wordpress SSL configuration for Admin.

Open wp-config.php file from your wordpress installation folder. And add following line.

define(‘FORCE_SSL_ADMIN’, true);

Step 3 – Test your SSL Setup

Open your website in a your favorite web browser. If everything goes well, you’ll see a warning saying the certificate is not verified.

chrome-ssl-self-sign-certificate-error

chrome-ssl-https-error

Accept the certificate exception. But before accepting it verify the SHA/MD5 fingerprints to make sure its yours.

That’s it. Your WordPress Admin dashboard is secured using HTTPS and self-signed certificate.

The post How to secure WordPress Admin with HTTPS – Self-signed certificate appeared first on ViralPatel.net.



via ViralPatel.net http://ift.tt/1QPpwVw

Apowersoft Video Converter Studio 4.0.5.0

http://ift.tt/1v8TCTX Apowersoft Video Converter Studio is a powerful video editing suite that can convert numerous types of video formats, such as AVI, MP4, FLV, and MKV. The application is also capable of converting audio formats, such as MP3, MP2, OGG, and AAC.


via FileHippo.com http://ift.tt/1dfshwK [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

uTorrent 3.4.3 Beta 40580

http://ift.tt/RAei7L The features which are present in other BitTorrent clients are here in µTorrent, including scheduling, bandwidth prioritization, RSS auto-downloading and compatibility with BitComet-Mainline DHT. µTorrent also supports peer exchange and the Protocol Encryption joint specification (compatible with Vuze / Azureus 2.4.0.0 and above and BitComet 0.63 a...


via FileHippo.com http://ift.tt/13UpiiZ [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

SnagIt 12.4.0.2992

http://ift.tt/ReVBDb Simple screenshots are taken with Print-Key and MS Paint. For anything more advanced, like manuals, tutorials or presentations, Techsmith SnagIt is the tool of choice. The powerful screen capturing and image manipulation software records stills and videos. Other than traditional full screen the capturing area can be set to window, region or scrolli...


via FileHippo.com http://ift.tt/1dh4DiE [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

K-Meleon 75.0

http://ift.tt/1vIiMxa K-Meleon is an extremely fast, customizable, lightweight web browser based on the Gecko layout engine developed by Mozilla which is also used by Firefox. K-Meleon is free, open source software released under the GNU General Public License and is designed specifically for Microsoft Windows (Win32) operating systems.


via FileHippo.com http://ift.tt/1nx8wFV [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Glary Utilities 5.28.0.48

http://cache.filehippo.com/img/ex/3074__Glary_Utilities.png Glary Utilities is a free system cleaner and performance booster for your Windows PC. The easy-to-use and intuitive interface features one-click functionality and easy, automated options that give you the choice of either a 1-Click maintenance or a custom selection of operations.


via FileHippo.com http://ift.tt/1uJuTqO [[ We are also giving web service. Email:wasim.akh2@gmail.com]]

Vertical Street View of the world’s most iconic rock wall: Yosemite’s El Capitan

Today we’re launching our first-ever vertical Street View collection, giving you the opportunity to climb 3,000 feet up the world’s most famous rock wall: Yosemite’s El Capitan. To bring you this new imagery, we partnered with legendary climbers Lynn Hill, Alex Honnold and Tommy Caldwell. Read more about the project from Tommy Caldwell, who completed the world’s hardest climb in Yosemite in January of 2015. -Ed.

“That is awesome. I definitely have to be a part of that.”

Maybe it was the sheer exhaustion from being in the middle of a 19-day climb of the Dawn Wall, but when the guys at Google Maps and Yosemite National Park asked if I wanted to help them with their first-ever vertical Street View collection of El Capitan in Yosemite, I didn’t hesitate. Yosemite has been such an important part of my life that telling the story of El Capitan through Street View was right up my alley—especially when it meant working with the Google engineers to figure out some absurd challenges.

Climbing is all about flirting with the impossible and pushing the boundaries of what you think you can be done. Capturing Street View imagery 3,000 feet up El Capitan proved to be an extension of that, especially when you take a camera meant for the inside of a restaurant and mount it thousands of feet up the world’s most iconic rock wall.
Brett Lowell and Corey Rich capturing Street View of Alex Honnold on the King Swing

Doing anything thousands of feet high on a sheer granite face is complicated, but everyone up there had spent years of their lives on a rope and knew exactly what they were doing. After some testing, we used our tried-and-true climbing gear like cams and ropes to make sure the camera wouldn’t fall to the ground in the middle of our Street View collection.

Once we figured out how to keep the camera on El Cap, we created two sets of vertical Street View. First, we collected Street View of legendary Yosemite climbers—and my good friends—Lynn Hill and Alex Honnold in iconic spots up the sheer vertical face.

Lynn Hill’s ascent of El Capitan changed the paradigm of climbing, and she had an extraordinary effect on my climbing career. I’ll never forget when she became the first person, man or woman, to free-climb (using only her hands and feet) “The Nose” back in 1993. Now, you can see her navigate these epic moves— like climbing sideways on tiny holds of the Jardine Traverse, inventing a “Houdini” maneuver on the Changing Corners and traversing under the Great Roof.

Any story of El Capitan had to include my good friend Alex Honnold. He holds the speed record for climbing the Nose at 2 hours and 23 minutes - most people take 3-5 days. His unwavering confidence in himself is contagious; when I’m with him, I feel like the mountain has shrunk to half its size. As you make your way around Yosemite in Street View, you’ll see Alex doing what he does best: chimneying up the “Texas Flake,” racing up the bolt ladder, or getting dinner ready in the solar-powered van he calls home.

You’ll also see a glimpse of yours truly on the Dawn Wall. I spent some of my rest days during my January climb of the Dawn Wall testing out the Street View technology the Google team had sent me that month. El Cap is an intimidating environment for experimentation, but years of setting ropes proved pretty helpful in figuring out how to get the equipment rigged and ready to collect Street View.

Then, we really put Alex to work to collect the second set of Street View: the entire vertical route of “The Nose” on El Capitan. One of the few people that could do this efficiently and quickly, Alex took the camera and pretty much ran 3,000 feet up with photographer partner Brett Lowell. Now, anyone can get the beta (climbing speak for insider advice) before they climb the entire route.

Lynn, Alex and I also helped create a new Yosemite Treks page, where you can take a tour up El Cap and learn more about climbing, from what a “hand jam” is to why we wear such tiny shoes. And as a father, I’m excited kids will learn more about Yosemite when Google brings students to the park through NatureBridge later this year as a part of this project. Plus, its pretty awesome that students who can’t make it to Yosemite yet will be go on a virtual reality field trip to the Park with Google Expeditions.

Yosemite’s driven so much of my life that I’m excited to be able to share it with the world through my eyes. These 360-degree panoramic images are the closest thing I’ve ever witnessed to actually being thousands of feet up a vertical rock face—better than any video or photo. But my hope is that this new imagery will inspire you to get out there and see Yosemite for yourself… whether you travel up a rock wall or just down the trail.



via The Official Google Blog http://ift.tt/1LtdBZR

Latest Security News and Updates for PC and Mobiles – December 12, 2025

In this article, we regularly share information about latest and important security updates and security advisories issued by software compa...