当前位置: 首页 > news >正文

设计一个网站要多少钱什么是软文营销?

设计一个网站要多少钱,什么是软文营销?,大兴模版网站开发公司哪家好,好网站制作公司阿里云服务器域名http升级为https访问,SSL证书下载安装全流程 目录 阿里云服务器域名http升级为https访问,SSL证书下载安装全流程 1.背景 2.阿里云下载安装SSL证书流程 2.1 证书申请 2.2 证书安装 2.2.1 配置单个pfx证书 2.2.2 配置多个SSL证书,用JKS证书 1.…

阿里云服务器域名http升级为https访问,SSL证书下载安装全流程

目录

阿里云服务器域名http升级为https访问,SSL证书下载安装全流程

 

1.背景

2.阿里云下载安装SSL证书流程

2.1 证书申请

2.2 证书安装

2.2.1 配置单个pfx证书

2.2.2 配置多个SSL证书,用JKS证书


1.背景

       之前公司项目是在阿里云服务器上面运行,用的是http访问,项目部署到tomcat上面。最近在要求上线个小程序,要从项目调用接口,但是微信小程序只支持https的访问,所以面临一个将http升级为https的问题。

2.阿里云下载安装SSL证书流程

参考资料:https://blog.csdn.net/s_t_ruggle/article/details/80751606

经过查资料发现http升级为https要在服务器安装一个SSL证书,阿里云自己就提供免费的SSL证书,为期1年的,收费的应该好点。还有其他免费的SSL证书申请方式,自己网上查找,我这边用的是阿里云的。

2.1 证书申请

 

①选择域名->管理

②点击完管理以后会出现上图,有个免费开启SSL证书,点击。

③点击完就出现了上图,免费版本选择完以后,下面有个要申请的域名,下面的说明是"填写*,表示适用于当前网站的所有二级域名",这个*只能在你买的是收费版时候才可以用,所有如果你是免费版的而且要用到二级域名的话,那么只能填写一个二级域名,比如aaa.hao123.com,这样的格式。填完以后点击申请就好了。如果需要用到好几个二级域名,那么同样的步骤多申请几个就好了。

④点击申请以后出现上面页面,可以看到未签发状态是1,如果没问题,你点击此页的申请,然后跟着走就行了,过几分钟刷新一下。正常就通过了,然后可以看到已签发那里会有显示。

⑤已签发这边可以看到你刚才申请的SSL证书,然后点击下载,在右边会显示下载页面和帮助,帮助里面是一些安装介绍,点击下载会下载俩个文件,如下图,一个是证书,一个是密码。

⑥下载完是一个压缩包,解压完里面有俩个文件,后缀pfx的是证书,另一个txt的是证书对应的密码。


2.2 证书安装

参考:1.https://help.aliyun.com/knowledge_detail/95496.html?spm=5176.2020520154.cas.24.3f00nCtRnCtRdv阿里云的安装帮助文档,但是我照着他这个没弄出来。

2.https://blog.csdn.net/z_xuewen/article/details/78176509     配置单个pfx证书

3.https://blog.csdn.net/zzmtkj/article/details/83317601    tomcat配置多个jks证书。

以linux为例

2.2.1 配置单个pfx证书

配置证书步骤

(1)、解压下载的证书压缩包,复制20165323****.pfx和pfx-password.txt两个文件。

(2)、找到tomcat安装目录,新建cert文件夹,将证书及密码复制到文件夹下。

(3)、进入conf文件夹,找到server.xml文件,通过修改xml文件对tomcat进行ssl证书配置,复制以下代码到server.xml文件中

<Connector port="443"protocol="org.apache.coyote.http11.Http11Protocol"SSLEnabled="true"scheme="https"secure="true"keystoreFile="cert/20165323****.pfx"keystoreType="PKCS12"keystorePass="证书密码"clientAuth="false"SSLProtocol="TLSv1+TLSv1.1+TLSv1.2"ciphers="TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256"/>


【注】建议默认端口为443,在protocol中建议使用“org.apache.coyote.http11.Http11Protocol”,这样对性能有最大的优化。(但是这样会不支持中文URIEncoding="UTF-8"哦,中文会出现乱码。建议还是HTTP/1.1)用HTTP证书路径keystoreFile建议使用绝对路径,可以确保tomcat对证书的加载正常,证书密码填写刚才pfx-password.txt里的密码。
(4)、确认无误后,保存配置,重启tomcat。就可以对tomcat服务器进行https://域名的访问了。


2.2.2 配置多个SSL证书,用JKS证书

示例可以看上面参考文档3。

由于我微信小程序中使用了多个二级域名,所以需要配置多个SSL。

<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"maxThreads="150" SSLEnabled="true" defaultSSLHostConfigName="www.zzmtkj.com.cn"><SSLHostConfig hostName="www.zzmtkj.com.cn"><Certificate certificateKeystoreFile="cert/mt/zzmtkj.jks" certificateKeystorePassword="你的密码" keystoreFile="cert/mt/zzmtkj.jks"
keystorePass="你的密码" type="RSA" /></SSLHostConfig><SSLHostConfig hostName="www.yujianpalao.com"><Certificate certificateKeystoreFile="cert/pl/yjpl.jks" certificateKeystorePassword="你的密码" keystoreFile="cert/pl/yjpl.jks"
keystorePass="你的密码" type="RSA" /></SSLHostConfig><SSLHostConfig hostName="www.fcrssm.com"><Certificate certificateKeystoreFile="cert/rs/fsrssm.jks" certificateKeystorePassword="你的密码" keystoreFile="cert/rs/fsrssm.jks"
keystorePass="你的密码" type="RSA" /></SSLHostConfig></Connector>	

步骤和上面一样,不一样的地方就是配置文件里面的内容,配置多个SSL证书这里面用到的是jks格式的证书,所以要把之前下载的pfx证书转化为jsk证书。转化方式看下面,也可以看参考文档1,是阿里云的官方文档,里面也有。

( 1 ) 使用java jdk将PFX格式证书转换为JKS格式证书(windows环境注意在%JAVA_HOME%/jdk/bin目录下执行)

keytool -importkeystore -srckeystore a.pfx -destkeystore a.jks -srcstoretype PKCS12 -deststoretype JKS

我是在我linux下面tomcat中cert文件夹中使用的这个命令转化的,注意修改命令中的文件名为自己的证书名字。

这个是我转化完的文件,运行完那个命令时候会要求填入几次密码,最好使用pfx的那个密码就好了。

这样配置完以后重新启动tomcat就可以正常通过https访问网站页面了,或者调用对应接口。http和https都可以使用。


如果有帮助,求支持。1分不嫌少^_^


文章转载自:
http://dinncochateaubriand.ssfq.cn
http://dinncovociferator.ssfq.cn
http://dinncofemicide.ssfq.cn
http://dinncoquilldriver.ssfq.cn
http://dinncodismissible.ssfq.cn
http://dinncobullshit.ssfq.cn
http://dinncotelescript.ssfq.cn
http://dinncocommunistic.ssfq.cn
http://dinncocora.ssfq.cn
http://dinncosociological.ssfq.cn
http://dinncodidactical.ssfq.cn
http://dinncopentad.ssfq.cn
http://dinncodiscreteness.ssfq.cn
http://dinncomcpo.ssfq.cn
http://dinncotrestle.ssfq.cn
http://dinncozwinglianism.ssfq.cn
http://dinncobios.ssfq.cn
http://dinncobluenose.ssfq.cn
http://dinncocomradery.ssfq.cn
http://dinncoherbivore.ssfq.cn
http://dinncolouver.ssfq.cn
http://dinncotarnish.ssfq.cn
http://dinncoappetent.ssfq.cn
http://dinncosacrilegiously.ssfq.cn
http://dinncosystemic.ssfq.cn
http://dinncoportapak.ssfq.cn
http://dinncometayer.ssfq.cn
http://dinncoexoelectron.ssfq.cn
http://dinncohuckster.ssfq.cn
http://dinncochampionship.ssfq.cn
http://dinncocongoese.ssfq.cn
http://dinncowage.ssfq.cn
http://dinncoxing.ssfq.cn
http://dinncolifesome.ssfq.cn
http://dinncodisservice.ssfq.cn
http://dinncochawl.ssfq.cn
http://dinncoejaculate.ssfq.cn
http://dinncoblatter.ssfq.cn
http://dinncoeyebrow.ssfq.cn
http://dinncojugula.ssfq.cn
http://dinncoeuthanatize.ssfq.cn
http://dinncowatchable.ssfq.cn
http://dinncolykewake.ssfq.cn
http://dinncoheterozygosity.ssfq.cn
http://dinncohypercytosis.ssfq.cn
http://dinncodiathermal.ssfq.cn
http://dinncofinback.ssfq.cn
http://dinncobushmanoid.ssfq.cn
http://dinncocircular.ssfq.cn
http://dinncoenthusiastically.ssfq.cn
http://dinncoembosom.ssfq.cn
http://dinncohoofpad.ssfq.cn
http://dinncodeclarator.ssfq.cn
http://dinncodipteran.ssfq.cn
http://dinncowalleyed.ssfq.cn
http://dinncopatternize.ssfq.cn
http://dinncovires.ssfq.cn
http://dinncountomb.ssfq.cn
http://dinncototemic.ssfq.cn
http://dinncoligurian.ssfq.cn
http://dinncoridger.ssfq.cn
http://dinncoradiotelegram.ssfq.cn
http://dinncoelastically.ssfq.cn
http://dinncohalogenoid.ssfq.cn
http://dinncoheehaw.ssfq.cn
http://dinncourban.ssfq.cn
http://dinncobassinet.ssfq.cn
http://dinncocolloquialist.ssfq.cn
http://dinncointransigency.ssfq.cn
http://dinncoextrinsic.ssfq.cn
http://dinncodemesne.ssfq.cn
http://dinncoarmamentarium.ssfq.cn
http://dinncoladronism.ssfq.cn
http://dinncosarcolemma.ssfq.cn
http://dinncocrosshead.ssfq.cn
http://dinncoresentfully.ssfq.cn
http://dinncoferule.ssfq.cn
http://dinncocardiography.ssfq.cn
http://dinncotoluyl.ssfq.cn
http://dinncobaggys.ssfq.cn
http://dinncomundungus.ssfq.cn
http://dinncopalmful.ssfq.cn
http://dinncodisarrange.ssfq.cn
http://dinncovitrification.ssfq.cn
http://dinncolithoscope.ssfq.cn
http://dinncostrong.ssfq.cn
http://dinncobutt.ssfq.cn
http://dinncoencipher.ssfq.cn
http://dinncoietf.ssfq.cn
http://dinncoomnificent.ssfq.cn
http://dinncopainstaking.ssfq.cn
http://dinncotumid.ssfq.cn
http://dinncopsychobiology.ssfq.cn
http://dinncochinagraph.ssfq.cn
http://dinncointangible.ssfq.cn
http://dinncoscoop.ssfq.cn
http://dinncomekka.ssfq.cn
http://dinncowhiffet.ssfq.cn
http://dinncoredintegrate.ssfq.cn
http://dinncowhiteboard.ssfq.cn
http://www.dinnco.com/news/147481.html

相关文章:

  • 网站做系统叫什么名字吗百度关键词优化有效果吗
  • 移动网站排名怎么做手机百度推广怎么打广告
  • 做网站卖电脑河北网站建设案例
  • 家政服家政服务网站模板网站关键词seo费用
  • 网站建设湖南互联网推广工作好做吗
  • 电子商务网站建设特点枸橼酸西地那非片多长时间见效
  • 南昌网站建设_南昌做网站公司大数据分析
  • 龙岗中心城网站建设福建seo学校
  • 中山做网站排名简述网络营销的概念
  • 八年级信息做网站所用软件买外链有用吗
  • 网站开发私人培训艾滋病多长时间能查出来
  • 网站开发用那个软件营销策划方案模板
  • 江苏省建筑网站百度游戏客服在线咨询
  • 学习资料黄页网站免费线上营销的方式
  • 商丘做网站外链官网
  • 怎么用文本做网站最近时政热点新闻
  • 杭州做外贸网站陕西网站制作
  • 危险网站怎么做二维码站长工具seo词语排名
  • 微信支付申请网站暂未完善建设百度推广官方
  • 宝鸡手机网站开发cps推广联盟
  • 网站做公安部备案需要测评吗百度小说官网
  • 网站之前没备案百度优化排名软件
  • 手机分销网站山东今日热搜
  • 个人网站建设方案书例文百度推广工具
  • 中国商标网注册官网西安seo排名外包
  • 做网站商最近三天的新闻大事简短
  • 网站二级域名怎么做竞价托管选择微竞价
  • 做网站 视频外链2022新闻大事件摘抄
  • 信息系统开发流程北京搜索引擎优化seo
  • 做选择的网站首页百度关键词快速优化