---
title: "https 证书文 生成"
author: "jacklin2015"
date: "2017-08-26T16:45:37Z"
tags: []
categories: ["开源软件"]
slug: "https"
draft: false
lastmod: "2017-08-26T16:45:37Z"
id: 2391186
url: "https://jacklin2015.iteye.com/blog/2391186"
---

openssl genrsa -des3 -out jack.key 2048
openssl req -new -key jack.key -out jack.csr
openssl req -new -x509 -days 3650 -key jack.key -out jack.crt
openssl rsa -in jack.key -out jack1.key   #  用上面长生的jack.key作为输入，输出新的key就可以不用密码，直接启动了。