[root@ansible certs]# pwd
/etc/pki/tls/certs
[root@ansible certs]# ls
ca-bundle.crt ca-bundle.trust.crt make-dummy-cert Makefile renew-dummy-cert
#取消makefile文件中对私钥文件的加密
[root@ansible certs]# vim Makefile
%.key:
umask 77 ; \
#/usr/bin/openssl genrsa -aes128 $(KEYLEN) > $@
/usr/bin/openssl genrsa $(KEYLEN) > $@
#生成证书
[root@ansible certs]# make Makefile httpds.crt
标签:crt,CentOS,证书,Makefile,ansible,certs,签名,root
From: https://www.cnblogs.com/heyongshen/p/16865693.html