{"id":34729,"date":"2022-12-24T10:15:01","date_gmt":"2024-02-09T12:12:53","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/"},"modified":"2024-04-29T06:46:43","modified_gmt":"2024-04-28T22:46:43","slug":"%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/","title":{"rendered":"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09"},"content":{"rendered":"<h1>\u73af\u5883<\/h1>\n<p>Ubuntu 14.04 LTS\uff08\u73b0\u5728\u53d1\u8a00\uff09<\/p>\n<p>\u6211\u6b63\u5728\u4f7f\u7528AWS\u6765\u8fd0\u884c\u8fd9\u4e2a\u3002<\/p>\n<p>\u4e00\u4e2a\u5df2\u7ecf\u5b58\u5728\u7684\u7f51\u7ad9\u5e26\u6709\u57df\u540d\uff0c\u5728Apache2\u4e0a\u8fd0\u884c\u3002<\/p>\n<h1>\u8bbe\u7f6e\u5b89\u5168\u7ec4<\/h1>\n<p>\u6253\u5f00TCP 443\u7aef\u53e3\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1f1437434c4406c18be8\/6-0.png\" alt=\"image.png\" \/><\/div>\n<h1>\u8bbe\u5b9a<\/h1>\n<p>\u4f7f\u7528 SSH \u767b\u5f55\u670d\u52a1\u5668\uff0c\u5e76\u83b7\u53d6 root \u6743\u9650\uff0c\u7136\u540e\u8fdb\u884c \/etc\/apache2 \u76ee\u5f55\u7684\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nubuntu@www:~$ sudo bash\r\nroot@www:\/mnt\/xvdf\/home\/ubuntu# cd \/etc\/apache2\r\nroot@www:\/etc\/apache2# ls\r\napache2.conf    conf-enabled  magic           ports.conf\r\nconf-available  envvars       mods-available  sites-available\r\nconf.d          httpd.conf    mods-enabled    sites-enabled\r\n<\/code><\/pre>\n<p>\u6211\u4f1a\u68c0\u67e5\u4e00\u4e0b\u4f3c\u4e4e\u662f\u90a3\u6837\u7684ports.conf\u3002<\/p>\n<pre class=\"post-pre\"><code>root@www:\/etc\/apache2# cat ports.conf \r\n# If you just change the port or add more ports here, you will likely also\r\n# have to change the VirtualHost statement in\r\n# \/etc\/apache2\/sites-enabled\/000-default\r\n# This is also true if you have upgraded from before 2.2.9-3 (i.e. from\r\n# Debian etch). See \/usr\/share\/doc\/apache2.2-common\/NEWS.Debian.gz and\r\n# README.Debian.gz\r\n\r\nNameVirtualHost *:80\r\nListen 80\r\n\r\n&lt;IfModule mod_ssl.c&gt;\r\n    # If you add NameVirtualHost *:443 here, you will also have to change\r\n    # the VirtualHost statement in \/etc\/apache2\/sites-available\/default-ssl\r\n    # to &lt;VirtualHost *:443&gt;\r\n    # Server Name Indication for SSL named virtual hosts is currently not\r\n    # supported by MSIE on Windows XP.\r\n    Listen 443\r\n&lt;\/IfModule&gt;\r\n\r\n&lt;IfModule mod_gnutls.c&gt;\r\n    Listen 443\r\n&lt;\/IfModule&gt;\r\n<\/code><\/pre>\n<p>\u4f3c\u4e4e\u9700\u8981mod_ssl.c\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# ls mods-enabled\/\r\naccess_compat.load    autoindex.conf  mime.conf         rewrite.load\r\nalias.conf            autoindex.load  mime.load         setenvif.conf\r\nalias.load            cgi.load        mpm_prefork.conf  setenvif.load\r\nauth_basic.load       deflate.conf    mpm_prefork.load  status.conf\r\nauthn_core.load       deflate.load    negotiation.conf  status.load\r\nauthn_file.load       dir.conf        negotiation.load  userdir.conf\r\nauthz_core.load       dir.load        php5.conf         userdir.load\r\nauthz_groupfile.load  env.load        php5.load\r\nauthz_host.load       filter.load     reqtimeout.conf\r\nauthz_user.load       include.load    reqtimeout.load\r\nroot@www:\/etc\/apache2# ls mods-available\/\r\naccess_compat.load    dialup.load               proxy_balancer.conf\r\nactions.conf          dir.conf                  proxy_balancer.load\r\nactions.load          dir.load                  proxy.conf\r\nalias.conf            disk_cache.conf           proxy_connect.load\r\nalias.load            disk_cache.load           proxy_express.load\r\nallowmethods.load     dump_io.load              proxy_fcgi.load\r\nasis.load             echo.load                 proxy_fdpass.load\r\nauth_basic.load       env.load                  proxy_ftp.conf\r\nauth_digest.load      expires.load              proxy_ftp.load\r\nauth_form.load        ext_filter.load           proxy_html.load\r\nauthn_alias.load      file_cache.load           proxy_http.load\r\nauthn_anon.load       filter.load               proxy.load\r\nauthn_core.load       headers.load              proxy_scgi.load\r\nauthn_dbd.load        heartbeat.load            proxy_wstunnel.load\r\nauthn_dbm.load        heartmonitor.load         ratelimit.load\r\nauthn_default.load    ident.load                reflector.load\r\nauthn_file.load       imagemap.load             remoteip.load\r\nauthn_socache.load    include.load              reqtimeout.conf\r\nauthnz_ldap.load      info.conf                 reqtimeout.load\r\nauthz_core.load       info.load                 request.load\r\nauthz_dbd.load        lbmethod_bybusyness.load  rewrite.load\r\nauthz_dbm.load        lbmethod_byrequests.load  sed.load\r\nauthz_default.load    lbmethod_bytraffic.load   session_cookie.load\r\nauthz_groupfile.load  lbmethod_heartbeat.load   session_crypto.load\r\nauthz_host.load       ldap.conf                 session_dbd.load\r\nauthz_owner.load      ldap.load                 session.load\r\nauthz_user.load       log_debug.load            setenvif.conf\r\nautoindex.conf        log_forensic.load         setenvif.load\r\nautoindex.load        lua.load                  slotmem_plain.load\r\nbuffer.load           macro.load                slotmem_shm.load\r\ncache_disk.conf       mem_cache.conf            socache_dbm.load\r\ncache_disk.load       mem_cache.load            socache_memcache.load\r\ncache.load            mime.conf                 socache_shmcb.load\r\ncache_socache.load    mime.load                 speling.load\r\ncern_meta.load        mime_magic.conf           ssl.conf\r\ncgid.conf             mime_magic.load           ssl.load\r\ncgid.load             mpm_event.conf            status.conf\r\ncgi.load              mpm_event.load            status.load\r\ncharset_lite.load     mpm_prefork.conf          substitute.load\r\ndata.load             mpm_prefork.load          suexec.load\r\ndav_fs.conf           mpm_worker.conf           unique_id.load\r\ndav_fs.load           mpm_worker.load           userdir.conf\r\ndav.load              negotiation.conf          userdir.load\r\ndav_lock.load         negotiation.load          usertrack.load\r\ndbd.load              php5.conf                 version.load\r\ndeflate.conf          php5.load                 vhost_alias.load\r\ndeflate.load          proxy_ajp.load            xml2enc.load\r\n<\/code><\/pre>\n<p>\u6839\u636eSSL\u6a21\u5757\u4f3c\u4e4e\u5df2\u53ef\u7528\u7684\u60c5\u51b5\uff0c\u6211\u4eec\u5c06\u542f\u7528\u5b83\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# a2enmod ssl\r\nEnabling module ssl.\r\nSee \/usr\/share\/doc\/apache2\/README.Debian.gz on how to configure SSL and create self-signed certificates.\r\nTo activate the new configuration, you need to run:\r\n  service apache2 restart\r\n<\/code><\/pre>\n<p>\u5c06apache2\u91cd\u65b0\u542f\u52a8\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# a2enmod ssl2\r\nERROR: Module ssl2 does not exist!\r\nroot@www:\/etc\/apache2# service apache2 restart\r\n * Restarting web server apache2                                               [fail] \r\n * The apache2 configtest failed.\r\nOutput of config test was:\r\nAH00526: Syntax error on line 43 of \/etc\/apache2\/mods-enabled\/ssl.conf:\r\nSSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).\r\nAction 'configtest' failed.\r\nThe Apache error log may have more information.\r\n<\/code><\/pre>\n<p>\u53d1\u751f\u4e86\u9519\u8bef\u3002\u7531\u4e8e\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u662f\u4ece\u53e4\u4ee3\u5c31\u4e00\u76f4\u7ee7\u627f\u4e0b\u6765\u7684\uff0c\u6240\u4ee5\u4e5f\u9700\u8981\u4fee\u590d\u3002\u56e0\u4e3a\u88ab\u6307\u5b9a\u9700\u8981\u4f7f\u7528mod_socache_shmcb\uff0c\u6240\u4ee5\u6211\u4eec\u5c06\u5b89\u88c5\u5b83\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# a2enmod socache_shmcb\r\nEnabling module socache_shmcb.\r\nTo activate the new configuration, you need to run:\r\n  service apache2 restart\r\n<\/code><\/pre>\n<p>\u91cd\u65b0\u542f\u52a8Apache2\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# a2enmod socache_shmcb\r\nEnabling module socache_shmcb.\r\nTo activate the new configuration, you need to run:\r\n  service apache2 restart\r\nroot@www:\/etc\/apache2# service apache2 restart\r\n * Restarting web server apache2                                               [fail] \r\n * The apache2 configtest failed.\r\nOutput of config test was:\r\nAH00526: Syntax error on line 49 of \/etc\/apache2\/mods-enabled\/ssl.conf:\r\nInvalid command 'SSLMutex', perhaps misspelled or defined by a module not included in the server configuration\r\nAction 'configtest' failed.\r\nThe Apache error log may have more information.\r\n<\/code><\/pre>\n<p>\u8fd9\u6b21\u8bf7\u7f16\u8f91\/etc\/apache2\/mods-enabled\/ssl.conf\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nSSLMutex  file:${APACHE_RUN_DIR}\/ssl_mutex\r\n<\/code><\/pre>\n<p>\u5c06\u4ee5\u4e0b\u90e8\u5206\u6539\u8ff0\u4e3a\u4e2d\u6587\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\uff1a<br \/>\n\u306e\u7b87\u6240\u3092<\/p>\n<p>\u5c06\u8fd9\u90e8\u5206\u6539\u4e3a\u4e2d\u6587<\/p>\n<pre class=\"post-pre\"><code>\r\nMutex default ssl-cache\r\n<\/code><\/pre>\n<p>\u6211\u4eec\u4f1a\u9075\u5faa\u8fd9\u4e2a\u65b9\u6848\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# service apache2 restart\r\n * Restarting web server apache2\r\nAH00548: NameVirtualHost has no effect and will be removed in the next release \/etc\/apache2\/ports.conf:8\r\n                                                                               [ OK ]\r\n\r\n<\/code><\/pre>\n<p>\u6709\u6240\u52a8\u4f5c\u3002\u73b0\u5728\u4f7f\u7528https:\/\/\u8bbf\u95ee\u7f51\u7ad9\u65f6\u4f1a\u51fa\u73b0\u8bc1\u4e66\u9519\u8bef\u3002\u56e0\u6b64\u63a5\u4e0b\u6765\u9700\u8981\u5b89\u88c5\u8bc1\u4e66\u3002<\/p>\n<h1>\u8ba9\u6211\u4eec\u52a0\u5bc6\u8bc1\u4e66<\/h1>\n<p>\u636e\u8bf4\uff0c\u572816.04\u7248\u672c\u4e2d\u53ef\u4ee5\u901a\u8fc7apt-get\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff0c\u800c\u572814.04\u7248\u672c\u5219\u4e0d\u884c\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# apt-get install letsencrypt python-letsencrypt-apache\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nE: Unable to locate package letsencrypt\r\nE: Unable to locate package python-letsencrypt-apache\r\n<\/code><\/pre>\n<p>\u597d\u50cf\u6ca1\u6709\u7684\u6837\u5b50\u3002<\/p>\n<pre class=\"post-pre\"><code># apt-get install software-properties-common\r\n# add-apt-repository ppa:certbot\/certbot\r\n# apt-get update\r\n# apt-get install python-certbot-apache\r\n\r\n<\/code><\/pre>\n<p>\u4ee5\u5b89\u88c5\u4e3a\u4f8b\u3002<\/p>\n<p>\u6267\u884c\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\nroot@www:\/etc\/apache2# letsencrypt --apache\r\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\r\nPlugins selected: Authenticator apache, Installer apache\r\nEnter email address (used for urgent renewal and security notices) (Enter 'c' to\r\ncancel): nanbuwks+letsencrypt@nanbu.com\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nPlease read the Terms of Service at\r\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf. You must\r\nagree in order to register with the ACME server at\r\nhttps:\/\/acme-v02.api.letsencrypt.org\/directory\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n(A)gree\/(C)ancel: a\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nWould you be willing to share your email address with the Electronic Frontier\r\nFoundation, a founding partner of the Let's Encrypt project and the non-profit\r\norganization that develops Certbot? We'd like to send you email about our work\r\nencrypting the web, EFF news, campaigns, and ways to support digital freedom.\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n(Y)es\/(N)o: Y\r\n\r\nWhich names would you like to activate HTTPS for?\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n1: www.example.net\r\n2: www.example.com\r\n3: www.example.org\r\n4: www.nanbu.com\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nSelect the appropriate numbers separated by commas and\/or spaces, or leave input\r\nblank to select all options shown (Enter 'c' to cancel): 4\r\nObtaining a new certificate\r\nPerforming the following challenges:\r\nhttp-01 challenge for www.nanbu.com\r\nWaiting for verification...\r\nCleaning up challenges\r\nCreated an SSL vhost at \/etc\/apache2\/sites-available\/nanbu-le-ssl.conf\r\nDeploying Certificate to VirtualHost \/etc\/apache2\/sites-available\/nanbu-le-ssl.conf\r\nEnabling available site: \/etc\/apache2\/sites-available\/nanbu-le-ssl.conf\r\n\r\nPlease choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n1: No redirect - Make no further changes to the webserver configuration.\r\n2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for\r\nnew sites, or if you're confident your site works on HTTPS. You can undo this\r\nchange by editing your web server's configuration.\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nSelect the appropriate number [1-2] then [enter] (press 'c' to cancel): 1\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nCongratulations! You have successfully enabled https:\/\/www.nanbu.com\r\n\r\nYou should test your configuration at:\r\nhttps:\/\/www.ssllabs.com\/ssltest\/analyze.html?d=www.nanbu.com\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n\r\nIMPORTANT NOTES:\r\n - Congratulations! Your certificate and chain have been saved at:\r\n   \/etc\/letsencrypt\/live\/www.nanbu.com\/fullchain.pem\r\n   Your key file has been saved at:\r\n   \/etc\/letsencrypt\/live\/www.nanbu.com\/privkey.pem\r\n   Your cert will expire on 2019-03-02. To obtain a new or tweaked\r\n   version of this certificate in the future, simply run certbot again\r\n   with the \"certonly\" option. To non-interactively renew *all* of\r\n   your certificates, run \"certbot renew\"\r\n - Your account credentials have been saved in your Certbot\r\n   configuration directory at \/etc\/letsencrypt. You should make a\r\n   secure backup of this folder now. This configuration directory will\r\n   also contain certificates and private keys obtained by Certbot so\r\n   making regular backups of this folder is ideal.\r\n - If you like Certbot, please consider supporting our work by:\r\n\r\n   Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\r\n   Donating to EFF:                    https:\/\/eff.org\/donate-le\r\n\r\nroot@www:\/etc\/apache2#\r\n\r\n<\/code><\/pre>\n<p>\u8fd9\u4e4b\u540e\uff0c\u6dfb\u52a0https:\/\/\u5e76\u8bbf\u95ee\u7f51\u7ad9\u5c31\u80fd\u987a\u5229\u6d4f\u89c8\u3002<\/p>\n<h1>\u989d\u5916 ACM (AWS \u8bc1\u4e66\u7ba1\u7406\u5668)<\/h1>\n<p>\u7531\u4e8e\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528\uff0c\u6240\u4ee5\u6211\u8bd5\u4e86\u4e00\u4e0b\u3002<\/p>\n<p>\u9009\u62e9DNS\u8ba4\u8bc1\uff0c\u5e76\u8fdb\u884c\u8bc1\u4e66\u53d1\u884c\u5de5\u4f5c\u3002<br \/>\n\u56e0\u6b64\uff0c\u6211\u4eec\u4f1a\u7a0d\u5fae\u7b49\u5f85\u4e00\u4e0b\uff0c\u5982\u4ee5\u4e0b\u6240\u793a\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1f1437434c4406c18be8\/41-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u7ecf\u8fc7\u4e00\u4e2a\u665a\u4e0a\uff0c\u60c5\u51b5\u53d8\u6210\u4e86\u4ee5\u4e0b\u8fd9\u6837\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1f1437434c4406c18be8\/43-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u6211\u8003\u8651\u5c06\u8fd9\u4e2a\u52a0\u8f7d\u5230\u670d\u52a1\u5668\u5e76\u8fdb\u884c\u8bbe\u7f6e\uff0c\u4f46\u4f3c\u4e4e\u65e0\u6cd5\u8fdb\u884c\u6587\u4ef6\u8f93\u51fa\uff0c\u53ea\u80fd\u901a\u8fc7ELB\u7b49\u65b9\u5f0f\u4f7f\u7528\u3002\u867d\u7136\u53ef\u4ee5\u5f15\u5165ELB\uff0c\u4f46\u6211\u5e0c\u671b\u80fd\u591f\u8fdb\u884c\u66f4\u7b80\u5355\u7684\u8bbe\u7f6e\uff0c\u6240\u4ee5\u6211\u6539\u53d8\u4e86\u6807\u9898\u7684\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883 Ubuntu 14.04 LTS\uff08\u73b0\u5728\u53d1\u8a00\uff09 \u6211\u6b63\u5728\u4f7f\u7528AWS\u6765\u8fd0\u884c\u8fd9\u4e2a\u3002 \u4e00\u4e2a\u5df2\u7ecf\u5b58\u5728\u7684\u7f51\u7ad9\u5e26\u6709\u57df\u540d\uff0c [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34729","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-aws-\u4e0a\u4f7f\u7528-ubuntu-14-04-\u914d\u7f6e-ssl\uff08letsencrypt\uff09\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09\" \/>\n<meta property=\"og:description\" content=\"\u73af\u5883 Ubuntu 14.04 LTS\uff08\u73b0\u5728\u53d1\u8a00\uff09 \u6211\u6b63\u5728\u4f7f\u7528AWS\u6765\u8fd0\u884c\u8fd9\u4e2a\u3002 \u4e00\u4e2a\u5df2\u7ecf\u5b58\u5728\u7684\u7f51\u7ad9\u5e26\u6709\u57df\u540d\uff0c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-aws-\u4e0a\u4f7f\u7528-ubuntu-14-04-\u914d\u7f6e-ssl\uff08letsencrypt\uff09\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-09T12:12:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T22:46:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1f1437434c4406c18be8\/6-0.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/\",\"name\":\"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-02-09T12:12:53+00:00\",\"dateModified\":\"2024-04-28T22:46:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-aws-\u4e0a\u4f7f\u7528-ubuntu-14-04-\u914d\u7f6e-ssl\uff08letsencrypt\uff09\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09","og_description":"\u73af\u5883 Ubuntu 14.04 LTS\uff08\u73b0\u5728\u53d1\u8a00\uff09 \u6211\u6b63\u5728\u4f7f\u7528AWS\u6765\u8fd0\u884c\u8fd9\u4e2a\u3002 \u4e00\u4e2a\u5df2\u7ecf\u5b58\u5728\u7684\u7f51\u7ad9\u5e26\u6709\u57df\u540d\uff0c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-aws-\u4e0a\u4f7f\u7528-ubuntu-14-04-\u914d\u7f6e-ssl\uff08letsencrypt\uff09\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-02-09T12:12:53+00:00","article_modified_time":"2024-04-28T22:46:43+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d1f1437434c4406c18be8\/6-0.png"}],"author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/","name":"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-02-09T12:12:53+00:00","dateModified":"2024-04-28T22:46:43+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728 AWS \u4e0a\u4f7f\u7528 Ubuntu 14.04 \u914d\u7f6e SSL\uff08LetsEncrypt\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-aws-%e4%b8%8a%e4%bd%bf%e7%94%a8-ubuntu-14-04-%e9%85%8d%e7%bd%ae-ssl%ef%bc%88letsencrypt%ef%bc%89%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34729"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34729\/revisions"}],"predecessor-version":[{"id":83686,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34729\/revisions\/83686"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}