SlideShare une entreprise Scribd logo
1  sur  21
HTTPS
Renaming the meetup to Port443
Why I care about HTTPS
• section.io is an agile Content Delivery Network
• We maintain a Qualys SSL Labs Grade A rating
• Our own site, blog, and portal are full HTTPS
• We help our customers transition to full HTTPS
• I’m personally passionate about security
Why should you care about HTTPS?
• You’re already here anyway
• A 42% increase for Alexa Top 1 Million in 6 months
• Hopefully the following presentation will help
SSL is dead
• HTTP = Hypertext Transfer Protocol
• HTTPS = HTTP Secure
• TLS = Transport Layer Security, now at version 1.2
• SSL = Secure Sockets Layer
• SSL v3 is effectively dead since POODLE in 2014
• SSL v2 just became even deader with DROWN this month
• X.509 Certificate
Mixed mode requests
• When a page served over HTTPS contains http:// URLs
• Since October 2015, Chrome removes the padlock.
• Content Security Policies can help fix the broken http:// URLs
• Protocol relative URLs reduce cache effectiveness:
• http://domain/resource => //domain/resource
• https://domain/resource => //domain/resource
Cross-Origin Resource Sharing
• Making an AJAX request to a different “origin”
• CORS considers HTTP and HTTPS to be different origins:
• http://example.com ≠ http://different.com
• http://example.com ≠ https://example.com
• Send CORS headers for HTTPS requests:
• Access-Control-Allow-Origin: http://example.com
• When the Set-Cookie header includes the secure attribute
• The browser will only send the cookie over HTTPS
• Except: a non-HTTPS resource can write to a Secure Cookie
• An IETF draft is coming to correct this
• Prefixed cookies are also in an IETF draft
• Set-Cookie: __Secure-example; Secure;
• Set-Cookie: __Host-example; Secure; Path=/
Secure Cookies
Referrers
• The Referer header informs the server where you’re coming from
• The header is not sent when navigating from HTTPS to HTTP
• A W3C draft is coming for “Referrer Policies” to override this
• Controlled by the source page, not the destination
• Can choose to reveal the full URL, only the domain, or neither
HTTPS Validation
• Has the certificate expired?
• Does my browser trust a certificate in the certificate chain?
• Has the certificate been revoked by the authority?
• and …
Does the name match?
• Common Name
• CN=www.example.com
• Wildcard
• CN=*.example.com
• ≠ example.com
• ≠ two.levels.example.com
• Subject Alternative Name (SAN)
• CN=*.example.com
SAN=example.com, two.levels.example.com, different.com
Extended Validation Certificates
• Show the fancy green address bar
• A lot more paperwork
Certificate Signature Hash function
• SHA256 is the current preference
• SHA1 signatures are now reporting as insecure in browsers
• Internet Explorer silently terminates the connection for MD5
Server Name Indication (SNI)
• Browser sends the domain name before it receives the certificate
• Normally only the IP address and port number are available
• Host request header gets sent after TLS handshake has completed
• All modern browsers and devices support SNI
• Server tools and programming frameworks often need to opt-in
• TL;DR one IP address is enough
HTTP Strict Transport Security (HSTS)
• HTTP response headers indicating to use only HTTPS for this site
• And optionally all subdomains too.
• Has a duration for which the browser should remember this.
• 6-month duration required to achieve Qualys Grade A+
• More secure than HTTP 30x redirection.
• Can be submitted for inclusion, hard-coded in the browser.
HTTP Public Key Pinning (HPKP)
• HTTP response headers fingerprinting the certificate keys to expect.
• Has a duration for which the browser should remember this.
• Only valid if the header also includes backup fingerprints.
• The backup fingerprints don’t need to be CA-signed certificates
• Preloading is possible (like HSTS)
Online Certificate Status Protocol Stapling
• OCSP is a modern solution to Certificate Revocation Lists
• Unfortunately OCSP implementations don’t perform well:
• At least 15% of requests fail
• Successful requests add a median of 350ms to the TLS handshake
• Instead the server can include an OCSP response with the certificate
• Must Staple TLS Feature Extension
HTTP/2
• Requires HTTPS in all browsers
• Multiplexing mitigates the TLS handshake costs
• Domain-sharding becomes an anti-pattern
• Connection sharing aids the transition
• Server push
TLS 1.0 going out, TLS 1.3 coming in
• Payment Card Industry Data Security Standard (PCI DSS)
• Version 3.1 from April 2015 scheduled TLS 1.0 deprecation for July 2016
• Revised in December 2015 to postpone deprecation to 2018 instead
• TLS v1.3
• TCP Fast Open to send TLS ClientHello with SYN
• Specification has been frozen to allow real-world testing
Google Says So
• Page Rank
• Starting August 2014, HTTPS sites are given a (slightly) higher rank.
• Rank only awarded to “strong” HTTPS.
• Geo-location and WebRTC only for HTTPS sites in Chrome soon
Let’s Encrypt
• Free certificates
• Trusted in all modern browsers and devices
• Automated Domain Control Validation
• Automated installation on the web server
• Automated renewal
• Standardised protocols
• Open source implementation
• https://letsencrypt.org/
Thank you
• Jason Stangroome
• @jstangroome
• https://section.io/
• https://blog.stangroome.com/
HTTPS: you cannot spell respect without an S. – Eric Lawrence

Contenu connexe

Tendances

Let's go HTTPS
Let's go HTTPSLet's go HTTPS
Let's go HTTPSCodemotion
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
 
Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer networkAnil Pokhrel
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)Gurjot Singh
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layerTahmina Shopna
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guideSrihari
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009Cathie101
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocolwanangwa234
 
HTTP Definition and Basics.
HTTP Definition and Basics.HTTP Definition and Basics.
HTTP Definition and Basics.Halah Salih
 

Tendances (20)

Let's go HTTPS
Let's go HTTPSLet's go HTTPS
Let's go HTTPS
 
Http-protocol
Http-protocolHttp-protocol
Http-protocol
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Web and http computer network
Web and http computer networkWeb and http computer network
Web and http computer network
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
HTTP & WWW
HTTP & WWWHTTP & WWW
HTTP & WWW
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layer
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
HTTP
HTTPHTTP
HTTP
 
Http
HttpHttp
Http
 
Http
HttpHttp
Http
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
 
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocol
 
Lecture 6- http
Lecture  6- httpLecture  6- http
Lecture 6- http
 
HTTP Definition and Basics.
HTTP Definition and Basics.HTTP Definition and Basics.
HTTP Definition and Basics.
 
application layer
application layerapplication layer
application layer
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 

Similaire à HTTPS presentation at Port80 Sydney meetup March 2016

HTTPS at Sydney Alt.Net User Group
HTTPS at Sydney Alt.Net User GroupHTTPS at Sydney Alt.Net User Group
HTTPS at Sydney Alt.Net User GroupJason Stangroome
 
Maximizing Performance with SPDY and SSL
Maximizing Performance with SPDY and SSLMaximizing Performance with SPDY and SSL
Maximizing Performance with SPDY and SSLZoompf
 
Vital Aspects of SSL Support in MySQL
Vital Aspects of SSL Support in MySQLVital Aspects of SSL Support in MySQL
Vital Aspects of SSL Support in MySQLLesa Cote
 
020618 Why Do we Need HTTPS
020618 Why Do we Need HTTPS020618 Why Do we Need HTTPS
020618 Why Do we Need HTTPSJackio Kwok
 
Maximizing SPDY and SSL Performance (June 2014)
Maximizing SPDY and SSL Performance (June 2014)Maximizing SPDY and SSL Performance (June 2014)
Maximizing SPDY and SSL Performance (June 2014)Zoompf
 
Secure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFSecure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFAmazon Web Services
 
Secure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFSecure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFAmazon Web Services
 
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸Amazon Web Services
 
All you need to know about transport layer security
All you need to know about transport layer securityAll you need to know about transport layer security
All you need to know about transport layer securityMaarten Smeets
 
Ch 3: Web Application Technologies
Ch 3: Web Application TechnologiesCh 3: Web Application Technologies
Ch 3: Web Application TechnologiesSam Bowne
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesSam Bowne
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesSam Bowne
 
An Introduction to DANE - Securing TLS using DNSSEC
An Introduction to DANE - Securing TLS using DNSSECAn Introduction to DANE - Securing TLS using DNSSEC
An Introduction to DANE - Securing TLS using DNSSECCarlos Martinez Cagnazzo
 
How the SSL/TLS protocol works (very briefly) How to use HTTPS
How the SSL/TLS protocol works  (very briefly) How to use HTTPSHow the SSL/TLS protocol works  (very briefly) How to use HTTPS
How the SSL/TLS protocol works (very briefly) How to use HTTPSwhj76337
 
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...Peter LaFond
 
Overview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for youOverview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for youCloudflare
 
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!Wilco Alsemgeest
 
BAIT1103 Chapter 4
BAIT1103 Chapter 4BAIT1103 Chapter 4
BAIT1103 Chapter 4limsh
 
HTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoHTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoGabriella Davis
 
Deploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXDeploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXCisco Canada
 

Similaire à HTTPS presentation at Port80 Sydney meetup March 2016 (20)

HTTPS at Sydney Alt.Net User Group
HTTPS at Sydney Alt.Net User GroupHTTPS at Sydney Alt.Net User Group
HTTPS at Sydney Alt.Net User Group
 
Maximizing Performance with SPDY and SSL
Maximizing Performance with SPDY and SSLMaximizing Performance with SPDY and SSL
Maximizing Performance with SPDY and SSL
 
Vital Aspects of SSL Support in MySQL
Vital Aspects of SSL Support in MySQLVital Aspects of SSL Support in MySQL
Vital Aspects of SSL Support in MySQL
 
020618 Why Do we Need HTTPS
020618 Why Do we Need HTTPS020618 Why Do we Need HTTPS
020618 Why Do we Need HTTPS
 
Maximizing SPDY and SSL Performance (June 2014)
Maximizing SPDY and SSL Performance (June 2014)Maximizing SPDY and SSL Performance (June 2014)
Maximizing SPDY and SSL Performance (June 2014)
 
Secure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFSecure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAF
 
Secure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAFSecure Content Delivery Using Amazon CloudFront and AWS WAF
Secure Content Delivery Using Amazon CloudFront and AWS WAF
 
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
透過Amazon CloudFront 和AWS WAF來執行安全的內容傳輸
 
All you need to know about transport layer security
All you need to know about transport layer securityAll you need to know about transport layer security
All you need to know about transport layer security
 
Ch 3: Web Application Technologies
Ch 3: Web Application TechnologiesCh 3: Web Application Technologies
Ch 3: Web Application Technologies
 
CNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application TechnologiesCNIT 129S: Ch 3: Web Application Technologies
CNIT 129S: Ch 3: Web Application Technologies
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
 
An Introduction to DANE - Securing TLS using DNSSEC
An Introduction to DANE - Securing TLS using DNSSECAn Introduction to DANE - Securing TLS using DNSSEC
An Introduction to DANE - Securing TLS using DNSSEC
 
How the SSL/TLS protocol works (very briefly) How to use HTTPS
How the SSL/TLS protocol works  (very briefly) How to use HTTPSHow the SSL/TLS protocol works  (very briefly) How to use HTTPS
How the SSL/TLS protocol works (very briefly) How to use HTTPS
 
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...
WordCamp Raleigh 2017 - Move from HTTP to HTTPS or become irrelevant - Peter ...
 
Overview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for youOverview of SSL: choose the option that's right for you
Overview of SSL: choose the option that's right for you
 
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
JoomlaDay Austria 2016 - Presentation Why and how to use HTTPS on your website!
 
BAIT1103 Chapter 4
BAIT1103 Chapter 4BAIT1103 Chapter 4
BAIT1103 Chapter 4
 
HTTP - The Other Face Of Domino
HTTP - The Other Face Of DominoHTTP - The Other Face Of Domino
HTTP - The Other Face Of Domino
 
Deploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CXDeploying Next Generation Firewalling with ASA - CX
Deploying Next Generation Firewalling with ASA - CX
 

Dernier

Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxeditsforyah
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
NSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationNSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationMarko4394
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 

Dernier (17)

Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptxQ4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
NSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentationNSX-T and Service Interfaces presentation
NSX-T and Service Interfaces presentation
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 

HTTPS presentation at Port80 Sydney meetup March 2016

  • 2. Why I care about HTTPS • section.io is an agile Content Delivery Network • We maintain a Qualys SSL Labs Grade A rating • Our own site, blog, and portal are full HTTPS • We help our customers transition to full HTTPS • I’m personally passionate about security
  • 3. Why should you care about HTTPS? • You’re already here anyway • A 42% increase for Alexa Top 1 Million in 6 months • Hopefully the following presentation will help
  • 4. SSL is dead • HTTP = Hypertext Transfer Protocol • HTTPS = HTTP Secure • TLS = Transport Layer Security, now at version 1.2 • SSL = Secure Sockets Layer • SSL v3 is effectively dead since POODLE in 2014 • SSL v2 just became even deader with DROWN this month • X.509 Certificate
  • 5. Mixed mode requests • When a page served over HTTPS contains http:// URLs • Since October 2015, Chrome removes the padlock. • Content Security Policies can help fix the broken http:// URLs • Protocol relative URLs reduce cache effectiveness: • http://domain/resource => //domain/resource • https://domain/resource => //domain/resource
  • 6. Cross-Origin Resource Sharing • Making an AJAX request to a different “origin” • CORS considers HTTP and HTTPS to be different origins: • http://example.com ≠ http://different.com • http://example.com ≠ https://example.com • Send CORS headers for HTTPS requests: • Access-Control-Allow-Origin: http://example.com
  • 7. • When the Set-Cookie header includes the secure attribute • The browser will only send the cookie over HTTPS • Except: a non-HTTPS resource can write to a Secure Cookie • An IETF draft is coming to correct this • Prefixed cookies are also in an IETF draft • Set-Cookie: __Secure-example; Secure; • Set-Cookie: __Host-example; Secure; Path=/ Secure Cookies
  • 8. Referrers • The Referer header informs the server where you’re coming from • The header is not sent when navigating from HTTPS to HTTP • A W3C draft is coming for “Referrer Policies” to override this • Controlled by the source page, not the destination • Can choose to reveal the full URL, only the domain, or neither
  • 9. HTTPS Validation • Has the certificate expired? • Does my browser trust a certificate in the certificate chain? • Has the certificate been revoked by the authority? • and …
  • 10. Does the name match? • Common Name • CN=www.example.com • Wildcard • CN=*.example.com • ≠ example.com • ≠ two.levels.example.com • Subject Alternative Name (SAN) • CN=*.example.com SAN=example.com, two.levels.example.com, different.com
  • 11. Extended Validation Certificates • Show the fancy green address bar • A lot more paperwork
  • 12. Certificate Signature Hash function • SHA256 is the current preference • SHA1 signatures are now reporting as insecure in browsers • Internet Explorer silently terminates the connection for MD5
  • 13. Server Name Indication (SNI) • Browser sends the domain name before it receives the certificate • Normally only the IP address and port number are available • Host request header gets sent after TLS handshake has completed • All modern browsers and devices support SNI • Server tools and programming frameworks often need to opt-in • TL;DR one IP address is enough
  • 14. HTTP Strict Transport Security (HSTS) • HTTP response headers indicating to use only HTTPS for this site • And optionally all subdomains too. • Has a duration for which the browser should remember this. • 6-month duration required to achieve Qualys Grade A+ • More secure than HTTP 30x redirection. • Can be submitted for inclusion, hard-coded in the browser.
  • 15. HTTP Public Key Pinning (HPKP) • HTTP response headers fingerprinting the certificate keys to expect. • Has a duration for which the browser should remember this. • Only valid if the header also includes backup fingerprints. • The backup fingerprints don’t need to be CA-signed certificates • Preloading is possible (like HSTS)
  • 16. Online Certificate Status Protocol Stapling • OCSP is a modern solution to Certificate Revocation Lists • Unfortunately OCSP implementations don’t perform well: • At least 15% of requests fail • Successful requests add a median of 350ms to the TLS handshake • Instead the server can include an OCSP response with the certificate • Must Staple TLS Feature Extension
  • 17. HTTP/2 • Requires HTTPS in all browsers • Multiplexing mitigates the TLS handshake costs • Domain-sharding becomes an anti-pattern • Connection sharing aids the transition • Server push
  • 18. TLS 1.0 going out, TLS 1.3 coming in • Payment Card Industry Data Security Standard (PCI DSS) • Version 3.1 from April 2015 scheduled TLS 1.0 deprecation for July 2016 • Revised in December 2015 to postpone deprecation to 2018 instead • TLS v1.3 • TCP Fast Open to send TLS ClientHello with SYN • Specification has been frozen to allow real-world testing
  • 19. Google Says So • Page Rank • Starting August 2014, HTTPS sites are given a (slightly) higher rank. • Rank only awarded to “strong” HTTPS. • Geo-location and WebRTC only for HTTPS sites in Chrome soon
  • 20. Let’s Encrypt • Free certificates • Trusted in all modern browsers and devices • Automated Domain Control Validation • Automated installation on the web server • Automated renewal • Standardised protocols • Open source implementation • https://letsencrypt.org/
  • 21. Thank you • Jason Stangroome • @jstangroome • https://section.io/ • https://blog.stangroome.com/ HTTPS: you cannot spell respect without an S. – Eric Lawrence

Notes de l'éditeur

  1. section.io is a CDN designed to integrate into the agile practices of a website’s development and operations teams. It is the kind of CDN you put in front of your primary domain to handle all requests and resources, not just statics. We ensure our CDN edge is configured to pass the Qualys SSL Labs with at least a Grade A. Grade A, not A+, because A+ requires website changes (eg HSTS) and not just well-configured protocols.
  2. https://scotthelme.co.uk/security-headers-alexa-top-million/
  3. There is no padlock with warning icon anymore https://googleonlinesecurity.blogspot.com.au/2015/10/simplifying-page-security-icon-in-chrome.html
  4. Strict cookies to prevent HTTP origins writing cookies with secure attribute https://datatracker.ietf.org/doc/draft-west-leave-secure-cookies-alone/ Prefixed cookies to ensure particular cookies with `__Host` or `__Secure` or only used this way https://datatracker.ietf.org/doc/draft-ietf-httpbis-cookie-prefixes/ __Host- prefixed cookies do not allow the Domain attribute and must have Secure and Path attributes
  5. https://w3c.github.io/webappsec-referrer-policy/
  6. Must Staple http://tools.ietf.org/html/rfc7633 OCSP fails at least 15% of the time and take median 350ms on success https://blog.mozilla.org/security/2015/11/23/improving-revocation-ocsp-must-staple-and-short-lived-certificates/
  7. http://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls
  8. https://googlewebmastercentral.blogspot.com.au/2014/08/https-as-ranking-signal.html