Initial commit
This commit is contained in:
		
							
								
								
									
										12
									
								
								ANW-KM/openvpn/easy-rsa/build-dh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								ANW-KM/openvpn/easy-rsa/build-dh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| # | ||||
| # Build Diffie-Hellman parameters for the server side | ||||
| # of an SSL/TLS connection. | ||||
| # | ||||
|  | ||||
| if test $KEY_DIR; then | ||||
|     openssl dhparam -out ${KEY_DIR}/dh${KEY_SIZE}.pem ${KEY_SIZE} | ||||
| else | ||||
|     echo you must define KEY_DIR | ||||
| fi | ||||
		Reference in New Issue
	
	Block a user