linux下apache安装ssl步骤
制作证书: 参考: linux下运用opensll制作ssl证书 生成三个证书 server.crt 、server-ca.crt、server.key 安装openssl tar -xzvf openssl-1.0.2h.tar.gz cd openssl-1.0.2h ./config -fPIC enable-shared make depend make && make install make clean && make distclean #openssl类库做软连接 ln -s /usr/local/ssl//lib/*.so.* /usr/lib64 ln -s /usr/local/ssl//lib/*.so.* /usr/lib 安装apache apache依赖包安装不详细说明, tar xvzf httpd-2.4.18.tar.gz cd httpd-2.4.18 ./configure \ --prefix=/usr/local/cp-httpd-2.4.18 \ --with-apr=/usr/local/cp-apr-1.5.2 \ --with-apr-util=/usr/local/cp-apr-util-1.5.4 \ --with-apr-iconv=/usr/local/cp-apr-iconv-1.2.1 \ --with-ssl=