mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 13:53:00 +00:00 
			
		
		
		
	Merge pull request #2 from SuperBFG7/ssl
added documentation for SSL usage
This commit is contained in:
		
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							| @@ -36,6 +36,19 @@ Usage: ./ympd [OPTION]... | |||||||
|  --help                     this help |  --help                     this help | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | SSL Support | ||||||
|  | ----------- | ||||||
|  | To run ympd with SSL support: | ||||||
|  |  | ||||||
|  | - create a certificate (key and cert in the same file), example: | ||||||
|  | ``` | ||||||
|  | # openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 1000 -nodes | ||||||
|  | # cat key.pem cert.pem > ssl.pem | ||||||
|  | ``` | ||||||
|  | - tell ympd to use a webport using SSL and where to find the certificate:  | ||||||
|  | ``` | ||||||
|  | # ./ympd -w "ssl://8081:/path/to/ssl.pem" | ||||||
|  | ``` | ||||||
|  |  | ||||||
| Copyright | Copyright | ||||||
| --------- | --------- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Schregenberger
					Daniel Schregenberger