Difference between revisions of "Openssl new"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 1: | Line 1: | ||
| https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain | https://serverfault.com/questions/670725/is-it-possible-to-restrict-the-use-of-a-root-certificate-to-a-domain | ||
| − | + | Create private key and encrypt with -aes256 | |
| ``` | ``` | ||
| openssl genpkey -aes256 -algorithm RSA -out private_encrypted.key -pkeyopt rsa_keygen_bits:2048 | openssl genpkey -aes256 -algorithm RSA -out private_encrypted.key -pkeyopt rsa_keygen_bits:2048 | ||
| ``` | ``` | ||
Latest revision as of 15:48, 22 March 2024
Create private key and encrypt with -aes256
openssl genpkey -aes256 -algorithm RSA -out private_encrypted.key -pkeyopt rsa_keygen_bits:2048