To create a Keystore file, you will need to hop in terminal and run a few commands.
cd /path/to/keystore/folder
keytool -genkey -v -keystore projectname.keystore -alias ProjectName -keyalg RSA -keysize 2048 -validity 10000
alfred://theme/searchForegroundColor=rgba(66,66,66,1.00)&resultSubtextFontSize=1&searchSelectionForegroundColor=rgba(255,255,255,1.00)&separatorColor=rgba(0,0,0,0.01)&resultSelectedBackgroundColor=rgba(0,0,0,0.00)&shortcutColor=rgba(66,66,66,0.15)&scrollbarColor=rgba(0,0,0,0.03)&imageStyle=9&resultSubtextFont=Helvetica&background=rgba(255,255,255,0.00)&shortcutFontSize=1&searchFontSize=4&resultSubtextColor=rgba(66,66,66,0.25)&searchBackgroundColor=rgba(0,0,0,0.00)&name=Almost%20white&resultTextFontSize=2&resultSelectedSubtextColor=rgba(170,170,170,1.00)&shortcutSelectedColor=rgba(66,66,66,0.25)&widthSize=2&border=rgba(255,255,255,0.90)&resultTextFont=Helvetica&resultTextColor=rgba(170,170,170,1.00)&cornerRoundness=3&searchFont=Helvetica&searchPaddingSize=0&credits=Peter%20Schmalfeldt&shortcutFont=Helvetica&resultSelectedTextColor=rgba(66,66,66,1.00)&resultPaddingSize=3 |
\n | |
============= HOST: ==========\n | |
\n | |
local_ip: %{local_ip}\n | |
local_port: %{local_port}\n | |
remote_ip: %{remote_ip}\n | |
remote_port: %{remote_port}\n | |
\n | |
======= CONNECTION: ==========\n | |
\n |
These are the configuration files for an Ubuntu 20.04 Droplet on Ubuntu. The end results is a custom Nginx Server with HTTP2 & SSL Certificates for each website on a droplet.
By no means am I an expert on this stuff, but I have been doing basic research on this from year to year and have been trying to keep up with "best practices". I started this "prepper" stuff back in St. Louis, MO as we lived on a fault line and we were well past due for a major earthquake ( by 100+ years actually ). So I felt kind of stupid not being ready if it was a pretty good bet that at some point in my life, I was going to meet a natural disaster.
Something important to note, is that I did not just drop a bunch of money on this all at once. I just slowly accumulated things over the past 6-8 years. I figured if I budgeted about max of $250 a year on preparation stuff, I would only need to do that for a few years before I could have a pretty decent nest egg.
My primary focus was based purely on how I live my life, which is that I mainly work from home with my wife, and when I am traveling, it's usually by car, and I'm usually within 30 miles from home.
Get Home Bag (GHB)
For some reason, sometimes Let's Encrypt just has a hard time renewing SSL certificates and you might need to recreate them. Here is the process I take to get things back up and running fairly quickly with Digital Ocean Nginx Servers.
Change to Let's Encrypt directory:
My servers are setup using Digital Ocean using These Instructions.
Then, for the API setup for Nginx, I use this setup for nginx.