https openssl http2
2024-08-22 20:39:41
2018-3-21 10:27:45 星期三
参考: 对https, http2的解释
总结:
生成自有证书(非第三方证书颁发公司)
我使用的是gitbash工具, 命令为:
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout example.key -out example.crt
接下来会提问一堆问题:
Generating a bit RSA private key
............................................................................................+++
..........+++
writing new private key to 'example.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 ( 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]:zhangzhibin #组织/公司名字
Organizational Unit Name (eg, section) []:tech #组织单位名
Common Name (e.g. server FQDN or YOUR name) []:www.test.com #域名/ip
Email Address []:@qq.com #邮箱
完成后, 会在当前目录下生成两个文件:
example.crt example.key
###########2019年4月21日 11:39:18
免费的公网认证证书
证书自动生成 CartBot
sudo certbot --nginx
最新文章
- IOleItemContainer的接口定义
- 345. Reverse Vowels of a String
- IMDb Search
- iOS开发 AFNetworking 3.0使用遇到的问题
- vs2010常用快捷方式
- Araxis Merge Professional v2014.4565 特别版 | 文件比较合并
- 一个PHP开发者总结的九条建议
- Android TextView属性
- php+jquery+ajax+json的一个最简单实例
- 线程篇-01-NSThread
- ASP.NET上传大文件出现网页无法显示的问题
- JAVA IDE IntelliJ IDEA 快捷键使用详记
- CentOS 7下使用Gitolite搭建Git私服
- Xcode安装CocoaPods
- ElasticSearch Nosql
- Unity Shader Graph(二)Dissolve Effect
- /var/lib/mysql 的访问权限问题 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- 关于promise的一些用法
- python 面向对象的类
- Javascript事件设计模式(七)
热门文章
- ACM-ICPC 2018 焦作赛区网络预赛 I Save the Room(水题)
- HDU - 1272 小希的迷宫(并查集判断环)
- 2018牛客网暑期ACM多校训练营(第一场)E Removal(DP)
- 061、flannel的连通与隔离(2019-04-01 周一)
- 解析/proc/net/dev
- Silverlight程序之修改命名空间
- springboot09-redis
- ubuntu安装matlab
- SQL手工注入入门级笔记(更新中)
- [C++]PAT乙级1002.写出这个数(20/20)