美文网首页
申请SSL证书

申请SSL证书

作者: 常胖 | 来源:发表于2017-03-16 11:34 被阅读40次
alphassl_logo.png

关于 AlphaSSL
We are not any old reseller. AlphaSSL is powered by GlobalSign, the International Certificate Authority with its own highly trusted root CA certificates. Here at AlphaSSL.com we undergo an annual WebTrust audit and we operate under our own stringent set of policy statements and documents.

1.使用 openssl 工具生成私钥key

openssl genrsa -des3 -out clipchat.im.key 2048

此部分生成私钥时,不指定-des3参数 不需要输入密码短语(即passphrase)。为最大限度保证私钥安全,最好设置 passphrase 。

2.基于私钥key输出

openssl req -new -key clipchat.im.key -out clipchat.im.csr

以上两步可以用以下命令代替(注:没指定-des3)

openssl req -out clipchat.im.csr -new -newkey rsa:2048 -nodes -keyout clipchat.im.key

执行:

Generating a 2048 bit RSA private key
.................................................................................................................+++
...................................
............+++
writing new private key to 'clipchat.im.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:CN
State or Province Name (full name) [Some-State]:Shanghai
Locality Name (eg, city) []:Shanghai
Organization Name (eg, company) [Internet Widgits Pty Ltd]:YJ
Organizational Unit Name (eg, section) []:IT
Common Name (e.g. server FQDN or YOUR name) []:*.clipchat.im
Email Address []:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

3.查看生成的CSR

openssl req -noout -text -in clipchat.im.csr

确认无误后,将CSR文件上传至CA机构用于签发证书

4.接收CA证书,校验证书

openssl x509 -noout -text -in clipchat.im.pem

至此 clipchat.key 和 clipchat.pem 将用于后续部署。

参考:https://www.alphassl.com/support/create-csr/apache.html
https://support.globalsign.com/customer/portal/articles/1229769

相关文章

  • https-为你的博客加入SSL

    免费腾讯云ssl证书 腾讯云的ssl证书,自个申请.配置nginx的ssl前,需要申请ssl证书:ssl证书一共两...

  • 如何安装SSL证书到nginx服务器

    已开启ssl安全连接 首先要先申请ssl证书我用的是阿里云的,可以在阿里云ssl证书里边申请免费ssl证书申请ss...

  • iOS APP配置HTTPS流程

    一.准备工作 申请一个 SSL 证书 ,可在沃通WoSign网站申请所需SSL证书类型。SSL证书按验证的类别可分...

  • iOS APP配置HTTPS流程

    一.准备工作 申请一个 SSL 证书 ,可在沃通WoSign网站申请所需SSL证书类型。SSL证书按验证的类别可分...

  • 申请腾讯免费SSL证书,使网站支持https

    本篇目录 申请SSL证书 nginx下配置SSL证书 运行效果 1. 申请SSL证书 用自己的账号登录腾讯云 ht...

  • Lnmp Swoole使用wss协议

    准备工作 申请 SSL 证书,传送 阿里云免费SSL证书申请[https://www.jianshu.com/p/...

  • 在Nginx中配置ssl证书

    网站配置ssl证书之后,就可以使用https的方式进行访问。 1.申请ssl证书 可以申请免费的ssl证书,也可以...

  • 阿里云如何申请免费的SSL证书

    亲测有效!!!!!!!!!!!!!!! 问题1:为什么要申请SSL证书? 因为SSL证书(SSL Certific...

  • ssl

    ssl证书宝塔系统设置 条件: 已备案域名与服务器 步骤一:申请域名ssl证书(百度云ssl域名证书申请为例) 选...

  • Nginx配置HTTPS

    获取SSL证书 方法一:购买SSL证书 方法二:申请Let's Encrypt免费SSL证书 方法二:自建CA,颁...

网友评论

      本文标题:申请SSL证书

      本文链接:https://www.haomeiwen.com/subject/wqhrnttx.html