Letsencrypt Wildcard Certificates, with acme.sh client

Took me a bit of time to figure this out, so I thought I'd make it public. Letsencrypt announced their new wildcard certs, and because I have to add the SSL cert to a load balancer covering many subdomains, I needed to make use of it.

First thing to note is that not all clients support the new v2 API which is required for wildcard certs. I looked at the list of v2 supporting clients on the Letsencrypt site, and chose the acme.sh bash script. Not sure if I'm going to stick with it at this point but it got me going.

First thing you need to do is to run it with the –issue flag. You'll need to run it with DNS authentication, as that's the supported method for wildcard certs. You'll also need to run it with both the root domain AND the wildcard.

Read more

Realtek SD card reader problems on Ubuntu Mint 16.04 on a Dell Inspiron 3421

Pretty specific huh? Well the thing is I have the exact same card reader, OS,  version on one Lenovo laptop. The SD card works on the Lenovo, but not on the Dell Inspiron 3421.

The error it made on the Dell was the following in /var/log/syslog

Feb 14 08:30:46 raspberry kernel: [ 216.319736] mmc0: error -22 whilst initialising SD card
Feb 14 08:30:48 raspberry kernel: [ 219.151052] mmc0: tuning execution failed: -22

Lots of googling down dead ends ensued. Here's a little more info about the device in question.

Read more

Alternative DNS servers in the Philippines

Sometimes the default DNS servers for ISPs in the Philippines don't work. Sometimes they get overloaded, sometimes they block certain sites and not others due to internal agendas (PLDT blocking Globe sites for eg.). So here's a list of the alternatives. Outside the Philippines Cloudflare, APNIC 1.1.1.11.0.0.12606:4700:4700::11112606:4700:4700::1001[added Mar 2019. Current favourite] Google DNS 8.8.8.88.8.4.42001:4860:4860::8888 (IPv6)2001:4860:4860::8844 … Read more

Viber SQlite Database Extraction / Forensics

Well you can use this to pull messages out of a Viber Desktop database. I personally had to do it when I re-installed Viber and it deleted my entire message history, which wasn't so friendly, so I pulled this out of the database so I could refer to it in a spreadsheet. Maybe there is … Read more