36
SSL/HTTPS What, When and How! Chris Burgess – Melbourne WordPress Meetup 2017 @chrisburgess chrisburgess.com.au

WordPress and SSL

Embed Size (px)

Citation preview

Page 1: WordPress and SSL

SSL/HTTPSWhat,WhenandHow!ChrisBurgess– MelbourneWordPressMeetup2017

@chrisburgess chrisburgess.com.au

Page 2: WordPress and SSL
Page 3: WordPress and SSL
Page 4: WordPress and SSL
Page 5: WordPress and SSL

Overview• WhatisSSL?• SSLgrowth• WhenshouldyouuseSSL?• CostofanSSLcertificate• EnablingSSLinWordPress• Commonpitfalls• Benefits• SSLtools• Furtherreading

Page 6: WordPress and SSL

https://wptavern.com/more-than-50-of-web-traffic-is-now-encrypted

Page 7: WordPress and SSL

HTTPRequests2011-2017

http://httparchive.org/

Page 8: WordPress and SSL

SSLbyDefault2016-2017

https://trends.builtwith.com

Page 9: WordPress and SSL

WhatisSSL?(viaWikipedia)• HTTPS (alsocalled HTTPover TLS,[1][2] HTTPoverSSL,[3] and HTTPSecure[4][5])isa protocol for securecommunication overa computernetwork whichiswidelyusedonthe Internet.HTTPSconsistsofcommunicationover HypertextTransferProtocol (HTTP)withinaconnectionencryptedby TransportLayerSecurity,oritspredecessor,SecureSocketsLayer.ThemainmotivationforHTTPSis authentication ofthevisited website andprotectionofthe privacy and integrity oftheexchangeddata.

Page 10: WordPress and SSL

TheDifferenceBetweenHTTPandHTTPSTraffic

http://stackoverflow.com/questions/33934408/intercept-html-form-post-data

Page 11: WordPress and SSL

WhenShouldYouUseSSL?

• Ecommercesites• Wheneverdealingwithsensitivedata• Whenusertrustmatters

Page 12: WordPress and SSL

WhenShouldYouUseSSL?

Page 13: WordPress and SSL

EnablingSSL

• Intheory,changingyourhomeandsiteURLinWordPressshouldbeenough:

define('WP_HOME','http://example.com');define('WP_SITEURL','http://example.com');

• Inpractice,wesometimesneedsomeextrahelp

Page 14: WordPress and SSL

ForcingSSLforLogins

// Force SSL all WordPressdefine( 'FORCE_SSL_LOGIN', true ); define( 'FORCE_SSL_ADMIN', true );

Page 15: WordPress and SSL
Page 16: WordPress and SSL

MixedContent

Page 17: WordPress and SSL

WooCommerce

Page 18: WordPress and SSL

cPanel SSLManagement

Page 19: WordPress and SSL

cPanel SSLManagement

Page 20: WordPress and SSL

CostofanSSLCertificate

• $10to$10,000• Averagecost$50- $150forsingledomain• Wildcard(formultiplesubdomains)cancostalittlemore

• Let’sEncryptisfree!

Page 21: WordPress and SSL

WPForceSSL

Page 22: WordPress and SSL

EasyHTTPSRedirection

Page 23: WordPress and SSL

ReallySimpleSSL

Page 24: WordPress and SSL

MixedContentReport@WhyNoPadlock

https://www.whynopadlock.com/

Page 25: WordPress and SSL

SSLChecker@SSLShopper

https://www.sslshopper.com/ssl-checker.html/

Page 26: WordPress and SSL

SSLServerTest@Qualsys SSLLabs

https://www.ssllabs.com/ssltest/

Page 27: WordPress and SSL

MozillaSSLConfigurationGenerator

https://mozilla.github.io/server-side-tls/ssl-config-generator/

Page 28: WordPress and SSL

OpenSSLTesting

• YoucanalsouseOpenSSLfortesting,example:

> openssl s_client -connect example.com.au:443 -servernameexample.com.au -status

Page 29: WordPress and SSL

Let’sEncrypt

https://letsencrypt.org/

Page 30: WordPress and SSL

RankingBoost(2014)

http://searchengineland.com/google-starts-giving-ranking-boost-secure-httpsssl-sites-199446

Page 31: WordPress and SSL

RankingBoost(2014)

Page 32: WordPress and SSL

ABasicSEO-friendlySSLMigrationChecklist

• AddhttpsvariantsinGoogleSearchConsole• Checkandfixanyhardcodedresourcesthatwouldcause

mixedcontentwarnings,ideallyuserelativeratherthanabsoluteURLs

• Updateinternallinkstohttpsvariant• Ensure301redirectsareinplaceforallhttpURLs• Updatesitemaplinks(butdonotreplaceoldsitemapuntil

301sareindexed)androbots.txt (ifused)• TestallURLsareaccessible,fetchandrenderwith

Googlebot• ConfigurethewebservertosendSSLheaders(optional)

Page 33: WordPress and SSL

FurtherReading

https://www.feistyduck.com/books/bulletproof-ssl-and-tls/

Page 34: WordPress and SSL

FurtherReading

• https://wptavern.com/more-than-50-of-web-traffic-is-now-encrypted

• http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/

• https://moz.com/blog/seo-tips-https-ssl• https://chrislanauze.com/design-development/wordpress-meetup/how-to-configure-https-on-wordpress-683/

Page 35: WordPress and SSL
Page 36: WordPress and SSL

Thanks!ChrisBurgess– MelbourneWordPressMeetup2017

@chrisburgess

@chrisburgess chrisburgess.com.au