<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; https</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/https/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Sun, 10 May 2026 14:53:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下Apache虚拟主机配置https证书</title>
		<link>https://www.osyunwei.com/archives/10203.html</link>
		<comments>https://www.osyunwei.com/archives/10203.html#comments</comments>
		<pubDate>Wed, 01 May 2019 13:02:27 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[https]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=10203</guid>
		<description><![CDATA[学习本教程须掌握： 1、Linux下指定版本编译安装LAMP https://www.osyunwei.com/archives/9224.html 2、Linux下Apache虚拟主机配置 https://www.osyunwei.com/archives/9232.html 安装约定： Apache版本：2.2    #注意2.4和2.2版本某些参数的写法不一样 Apache安装路径：/usr/local/apache Apache虚拟主机配置文件：/usr/local/apache/conf/vhost https证书存放路径：/usr/local/apache/cert/ 开始配置： 1、确保Apache安装有OpenSSL模块 编译安装需要有参数：--enable-ssl 2、修改apache配置文件 vi  /usr/local/apache/conf/httpd.conf  #编辑，找到如下参数并去掉前面的注释，启用参数 LoadModule ssl_module modules/mod_ssl.so Include conf/extra/httpd-ssl.conf :wq!  #保存退出 3、修改httpd-ssl.conf配置 cp  /usr/local/apache/conf/extra/httpd-ssl.conf   /usr/local/apache/conf/extra/httpd-ssl.conf-bak   #备份 vi  /usr/local/apache/conf/extra/httpd-ssl.conf  #编辑添加以下内容 Listen 443 NameVirtualHost *:443   #必须加上这一句，否则只能识别到第一个虚拟主机的证书。 #SSLStrictSNIVHostCheck off AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL  #修改加密套件 SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4 SSLHonorCipherOrder on SSLProtocol TLSv1 TLSv1.1 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/10203.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/10203.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下nginx配置https协议访问</title>
		<link>https://www.osyunwei.com/archives/9442.html</link>
		<comments>https://www.osyunwei.com/archives/9442.html#comments</comments>
		<pubDate>Sat, 30 Apr 2016 15:58:37 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Nginx]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=9442</guid>
		<description><![CDATA[一、配置nginx支持https协议访问，需要在编译安装nginx的时候添加相应的模块--with-http_ssl_module 查看nginx编译参数：/usr/local/nginx/sbin/nginx -V 如下所示： configure arguments: --prefix=/usr/local/nginx --with-google_perftools_module --without-http_memcached_module --user=www --group=www --with-http_stub_status_module --with-http_sub_module --with-http_ssl_module --with-http_gzip_static_module --with-openssl=/usr/local/src/openssl-1.0.1h --with-zlib=/usr/local/src/zlib-1.2.8 --with-pcre=/usr/local/src/pcre-8.35 如果没有--with-http_gzip_static_module这个参数，需要重新编辑nginx 二、防火墙开启https协议默认端口443 vi /etc/sysconfig/iptables #编辑防火墙配置文件，添加以下代码 -A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT :wq! #保存退出 service iptables restart  #重启防火墙 三、创建https证书 确保机器上安装了openssl和openssl-devel yum install openssl  openssl-devel  #CentOS使用yum命令安装 mkdir   /usr/local/nginx/conf/ssl   #创建证书存放目录 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/9442.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/9442.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
