Running out of space when updating EXSi, follow the steps in the link below:
Category: Tech
-
Installing SSL Certificate on Edgerouter
You can refer to the following site: https://www.stevejenkins.com/blog/2015/10/install-an-ssl-certificate-on-a-ubiquiti-edgemax-edgerouter/
Key Step:
1) Merge the contents of your key and certificate file into a .pem file
cat hostname_example_com.key hostname_example_com.crt > server.pem
2) Backup the existing .pem file
cp /etc/lighttpd/server.pem /root/server.pem.bak
3) Copy the .pem file to the Web Server Directory
cp /root/server.pem /etc/lighttpd/server.pem
4) Reboot and Test
kill -SIGINT $(cat /var/run/lighttpd.pid)
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -
Replacing ESXi Certificates
The replacement can be done via the Shell by going to the following directory,
/etc/vmware/ssl.Rename/replace the existing certificates:
rui.crt
rui.keyRestart the host or restart the management agent using
/etc/init.d/hostd restart -
Updating EXSI – The easy way
This is the easiest way that is available to follow to update the EXSI instance. The link as follows:
https://tinkertry.com/easy-update-to-latest-esxi -
ASUS Router – Adding a valid cert
When using the HTTPS login of the router, it would utilise a self-signed cert. To have a valid cert from sites like Let’s Encrypt, you can install it using the following command from the following link:
https://berwari.net/blog/2018/01/02/installing-ssl-certificate-on-your-asus-router/
Updated using this link https://www.snbforums.com/threads/create-and-install-a-root-ca-and-self-signed-ssl-certificate.39424/The key parts of the commands:
1. Cleanup of existing pem files
cd /etc
rm *.pem
2. cleanup of existing certificate (twice)
nvram set https_crt_save=0
nvram unset https_crt_file
service restart_httpd
nvram unset https_crt_file
service restart_httpd
nvram get https_crt_file
(this should show nothing)
rm *.pem
3. Install new certificate
nvram set https_crt_save=1
4. Copy certificate.crt and private.key content into pem files
press CTRL + D twice to end editing
service stop_httpd
(creating the files with httpd active was creating problems and they were being overwritten by httpd. Turn it off.)
cat > cert.pem
cat > key.pem
cat *.pem
(displays the two files – needed for comparison and makes sure that the files saved as expected)
4. Restart and generate cert file
service start_httpd
nvram get https_crt_file
(this should show your cert file)
5. Now reboot the router by typing reboot into SSH -
Exploring Home Lab
I have been exploring different options for running a server to host VMs.
What I have found as options are:- VMware vSphere Hypervisor
- Proxmox
- Citrix Hypervisor
- KVM
- Xen
- unraid
I chose VMware vSphere Hypervisor as I found that it has the most common hardware support and the amount of information online is much more extensive, making it easier to troubleshoot and use. For the rest, they are a valid choice for hosting of VM except unraid which is more a software for NAS.