I’ve been putting off expanding the storage space on my Nextcloud VM for a couple of months now. However, a few days ago, the storage space hit less than a few hundred megabytes and I wasn’t able to login or upload any new files, so I was then forced to upgrade it and here are the steps I followed.
Sometimes you need to access a network share that requires an active directory authentication, but, you’re on a PC that’s not part of the domain. Saving the script below as a .bat file and replacing the parts that say “Server” with the actual name or IP of your server will allow your PC to access any network share with active directory credentials. Mostly, this is useful when you only need temporary access to a share, but don’t want to go through the whole network share mounting process.
Recently, I’ve been installing Lets Encrypt SSL certificates on all of the network devices on my network. This past week, I’ve been working with Dell iDRAC cards (a remote access card that allows you to manage servers remotely, even when they are powered off) in some of my servers. I got tired of clicking through the SSL warning whenever I would try to access one of my iDRAC cards, so I created a script to replace the self-signed certificate on the card.
So a few months ago, I was having trouble installing updates on one of my Ubuntu Linux servers. When I ran, sudo apt-get upgrade
I got the following error message listed below.
Updating SSL certificates is one of those repetitive and boring tasks that you have to do managing a web server. But, it’s also one of the most important when it comes to the security of your website. So lets automate it!
Originally, I planned on using Landscape to handle updating my Linux servers, but it only allows ten servers to be added before you need to upgrade to a paid license. And, after a while, I got tired of logging to my landscape server to reboot servers after updates were installed. So I setup all of my Linux servers to install updates, auto remove unnecessary dependencies and reboot the server automatically.
Encrypt pfSense w/ Let’s Encrypt
Ever wonder if someone is watching you while you configure pfSense? While setting up pfSense for the first time, the software will generate a self-signed SSL certificate and use that to secure the connection between the router and your web browser when making configuration changes. While this is better than no SSL at all, it is still not secure enough.