What is HTTPS and how to implement it?

Do the procedure of operation 2021-02-23 15:59:33
https implement

I am here “ Let's embrace 2021 year SEO New trends ” The second part of the article is 6 I'll tell you a little bit SEO The importance of optimization , Today, let's talk about HTTPS And how to implement HTTPS, Let you have a deeper understanding , And grasp the key points of implementation .

Hypertext transfer Security protocols ( English :HyperText Transfer Protocol Secure, abbreviation :HTTPS; Often called HTTP over TLS、HTTP over SSL or HTTP Secure) It is a kind of transmission protocol for secure communication through computer network .HTTPS Through HTTP communicate , But use SSL/TLS To encrypt packets .HTTPS The main purpose of the development , Is to provide authentication to the website server , Protect the privacy and integrity of data exchange . This agreement is made by Netscape (Netscape) stay 1994 First proposed in , Then extended to the Internet .

 What is? HTTPS And how to implement HTTPS?

In the history of ,HTTPS Connection is often used for transaction payment on the Internet and the transmission of sensitive information in enterprise information system . stay 2000 From the end of the year to 2010 Beginning of the year ,HTTPS Start to use widely , To ensure that all types of web pages are authentic , Protecting accounts and maintaining user communications , Identity and the privacy of web browsing .

in addition , There's another kind of security Hypertext transfer agreement (S-HTTP) Of HTTP Secure transmission implementation , however HTTPS The wide application of the Internet has become a fact HTTP Secure transmission mode , therefore S-HTTP Not widely supported .

1、 What is? HTTPS?

HTTPS( Hypertext transfer Security protocols ) It's an Internet communication protocol , It can ensure the integrity and confidentiality of the data transferred between the user's computer and the website . Whenever you visit a website , Users want their online experience to be safe and private . therefore , It is recommended that you adopt HTTPS To protect the connection between users and your website ( No matter what's on your website ).

Use HTTPS Data can be sent through the transport layer Security protocols (TLS) Be protected .

The agreement provides triple critical protection :

  • encryption - Encrypt the data exchanged , To protect it from prying . This means that while the user is browsing the site , No one can “ hear ” The content of the conversation , We can't track their activities or steal their information on multiple web pages .
  • Data integrity - Whether intentional or unintentional , No data can be modified or damaged during data transmission , And it won't be tested .
  • Authentication - Prove that the user can communicate with the target website , This helps protect users from man in the middle attacks and build user trust , And then bring other commercial benefits .

2、 Use powerful A security certificate

Enabling... For the website HTTPS In the process of , You have to get A security certificate . The certificate is issued by the digital certificate authority (CA) Issued by , The agency will take relevant measures , Make sure your website address really belongs to your organization , So as to protect visitors from man in the middle attacks . When setting up certificates , You can choose 2048 A key , To ensure a high level of security . If the key of the certificate you hold (1024 position ) Security is weak , Please upgrade it to 2048 position .

When selecting a site certificate , Please pay attention to the following points :

  • From providing reliable technical support CA Get the certificate at .( Free certificates such as :Let's Encrypt、CloudFlare)
  • Determine the type of certificate required :
  • A single certificate for a single security source ( for example www.guangwei.pro).
  • Multi domain certificate for multiple known security sources ( for example www.guangwei.pro,en.guangwei.pro).
  • Generic certificate for security sources with multiple dynamic subdomains ( for example a.guangwei.pro,b.guangwei.pro).

3、 Use the server side 301 Redirect

Use... On the server side 301 Permanent redirection redirects users and search engines to HTTPS Web pages or resources .

4、 confirm Search engine Can I grab your HTTPS Web pages and index them

  • Please do not pass robots.txt File block grabbing your HTTPS Webpage .
  • Please don't go in your HTTPS The page contains noindex Mark .

If it's Baidu , Please search resources platform in Baidu , Fill in https authentication , Make sure Baidu passes the verification , If it is Google, Please use Google Search Console Of “ URL checking tool ” test Googlebot Can I visit your website .


本文为[Do the procedure of operation]所创,转载请带上原文链接,感谢

  1. Redis 日志篇:系统高可用的杀手锏
  2. Java中把一个对象的值复制给另外一个对象引发的思考
  3. Java serialization / call wildfly service interface exception: ejbclient000409
  4. Docker compose deploy stack
  5. Mac下查看已安装的jdk版本及其安装目录
  6. Redis log: the killer of system high availability
  7. mybatis映射xml配置文件报错:<statement> or DELIMITER expected, got ‘id‘
  8. Thinking about copying the value of one object to another in Java
  9. IntelliJ IDEA 还能画思维导图,果然最强 IDE!
  10. vue使用sdk进行七牛云上传
  11. IntelliJ IDEA 还能画思维导图,果然最强 IDE!
  12. Spring原来还可以这么玩!阿里新产Spring全线宝典成功颠覆了我对Spring的认知!
  13. View the installed JDK version and its installation directory under mac
  14. Error in mybatis mapping XML configuration file: < statement > or delay expected, got 'ID‘
  15. IntelliJ IDEA 还能画思维导图,果然最强 IDE!
  16. Javascript性能优化【内联缓存】 V8引擎特性
  17. IntelliJ idea can also draw mind maps. It's really the strongest ide!
  18. Vue uses SDK to upload Qi Niu cloud
  19. IntelliJ idea can also draw mind maps. It's really the strongest ide!
  20. 深入理解 Web 协议 (三):HTTP 2
  21. Spring can still play like this! Ali's new spring product has successfully overturned my understanding of spring!
  22. IntelliJ idea can also draw mind maps. It's really the strongest ide!
  23. JavaScript performance optimization [inline cache] V8 engine features
  24. linux 配置java环境
  25. linux find 查找文件
  26. 深入理解 Web 协议 (三):HTTP 2
  27. IntelliJ IDEA 相关问题记录
  28. Deep understanding of Web protocol (3): http 2
  29. 深入理解 Web 协议 (三):HTTP 2
  30. 腾讯IEG开源AI SDK:自动化测试吃鸡、MOBA类游戏
  31. Mysql Command
  32. Configuring Java environment with Linux
  33. Find files in Linux
  34. docker-Dockerfile 创建镜像
  35. Redis Cluster
  36. 深入理解 Web 协议 (三):HTTP 2
  37. JavaScriptBOM操作
  38. JavaScriptBOM操作
  39. Deep understanding of Web protocol (3): http 2
  40. Record of IntelliJ idea related problems
  41. Deep understanding of Web protocol (3): http 2
  42. Tencent IEG open source AI SDK: automatic testing of chicken eating and MoBa games
  43. Mysql Command
  44. Docker dockerfile create image
  45. Redis Cluster
  46. 死磕Spring之IoC篇 - 文章导读
  47. Deep understanding of Web protocol (3): http 2
  48. JavaScript BOM operation
  49. JavaScript BOM operation
  50. 死磕Spring之IoC篇 - 文章导读
  51. k8s node 操作与维护
  52. k8s 证书更新
  53. 【Java面试题第三期】JVM中哪些地方会出现内存溢出?出现的原因是什么?
  54. HashMap连环问你能答出几道?
  55. k8s-cronjob
  56. k8s-cert
  57. Spring: an introduction to IOC
  58. Spring: an introduction to IOC
  59. Operation and maintenance of k8s node
  60. K8s certificate update