- Published on
生成ed25519自签证书
- Authors
- Name
- JiGu
- @crypto20x
ed25519安全性高,rsa算法依赖质数,如果质数问题被解决,rsa算法也就失效了。ed25519所需的计算资源比rsa更小。
openssl genpkey -algorithm ED25519 -out server.key
openssl req -new -out server.csr -key server.key -subj '/C=US/ST=CA/L=San Francisco/O=Internet Widgits Pty Ltd/OU=IT/CN=bing.com/emailAddress=admin@domain.com'
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt