DeutschEnglish

Submenu

 - - - By CrazyStat - - -

4. December 2019

letsencrypt certbot: how to remove some domains from an existing certificate

Filed under: Linux,Server Administration — Tags: , , , , — Christopher Kramer @ 21:44

You have a certificate with a couple of alternative domain names added to it, but want to get rid of some of them while keeping others? The parameter --renew-with-new-domains is what you want. This is how you use it:

certbot certonly --cert-name "maindomain.com" --renew-with-new-domains -d "maindomain.com,alternative1.com,alternative2.com"

This will renew the certificate maindomain.com with the domains maindomain.com, alternative1.com and alternative2.com. Any other domains that had been included in the certificate before will not be included in the new certificate. If you execute it like this, it will ask you for the verification method and parameters interactively. Alternatively, you can also configure this with parameters like -a webroot --webroot-path "/var/www/” .

Recommendation

Try my Open Source PHP visitor analytics script CrazyStat.

VLC for Android stuck after sleep timer expired

Filed under: Uncategorized — Tags: , , , , , — Christopher Kramer @ 20:46
Enable the “Stop on application swipe” option in VLC so you can still close it when it is stuck.

The problem

VLC for android is a good media player for Android. It comes with a sleep timer, which is useful if you are listening to audio books before sleep. However, for me, it always gets stuck after the sleep timer expired. This means the players notification still looks like it was playing. But neither the notification can be swiped away nor the application. So there is no easy way to close the app. Play buttons do not work and I cannot start another audio file. So the app is completely stuck.

The workaround

There is an option in the VLC settings that makes the situation a lot better:

Settings / Audio / Stop on application swipe

Check this option and when VLC is stuck, you can at least close the app by swiping it away.

Saved your day?

If this tip saved your day, please drop a comment below to keep me writing these kind of blog posts.