Slate theme needs to be hosted locally because it isn't served over https. Added wiki page about LetsEncrypt
This commit is contained in:
		
							parent
							
								
									8874fbcc3f
								
							
						
					
					
						commit
						4950c9cfcc
					
				
							
								
								
									
										25
									
								
								LetsEncrypt.wiki
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								LetsEncrypt.wiki
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,25 @@
 | 
			
		||||
= LetsEncrypt =
 | 
			
		||||
 | 
			
		||||
== Certbot Usage ==
 | 
			
		||||
 | 
			
		||||
Create a cert using the interactive menu:
 | 
			
		||||
 | 
			
		||||
{{{
 | 
			
		||||
# certbot certonly
 | 
			
		||||
}}}
 | 
			
		||||
 | 
			
		||||
== Automating Renewal ==
 | 
			
		||||
 | 
			
		||||
LetsEncrypt Certs are good for a max of 90 days, so automating renewal is a must. 
 | 
			
		||||
 | 
			
		||||
Do a dry-run renewal with certbot:
 | 
			
		||||
 | 
			
		||||
{{{
 | 
			
		||||
# certbot renew --dry-run
 | 
			
		||||
}}}
 | 
			
		||||
 | 
			
		||||
This will test, and possibly renew all certs that certbot knows about
 | 
			
		||||
 | 
			
		||||
%%Now you can use `certbot renew --quiet` for scripting this renewal. I do mine with a simple systemd script:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,7 @@
 | 
			
		||||
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
 | 
			
		||||
 | 
			
		||||
    <!-- Slate theme -->
 | 
			
		||||
    <link rel="stylesheet" href="http://bootswatch.com/slate/bootstrap.min.css">
 | 
			
		||||
    <link rel="stylesheet" href="slate.bootstrap.min.css">
 | 
			
		||||
 | 
			
		||||
    <!-- Latest compiled and minified JavaScript -->
 | 
			
		||||
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										11
									
								
								html-template/slate.bootstrap.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								html-template/slate.bootstrap.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -6,6 +6,10 @@
 | 
			
		||||
* [[Eudyptula Challenge]]
 | 
			
		||||
* Cgit -- Configuration and hosting of [[https://git.thurstylark.com/|git.thurstylark.com]]
 | 
			
		||||
 | 
			
		||||
=== Reference ===
 | 
			
		||||
 | 
			
		||||
* [[LetsEncrypt]] -- Usage of certbot, and relevant info for Apache configuration
 | 
			
		||||
 | 
			
		||||
=== General ===
 | 
			
		||||
	* [[Tasks]] -- Things to be done _yesterday_
 | 
			
		||||
	* [[Formatting Cheat Sheet]]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user