
- #Weechat lanca bolsa ny install#
- #Weechat lanca bolsa ny update#
- #Weechat lanca bolsa ny verification#
- #Weechat lanca bolsa ny code#
Regardless, this is how you use Let's Encrypt certificates with WeeChat SSL relay. Hopefully, this can also be automated, so I don't have to manually keep restarting the relay in WeeChat and flushing the cache in WeechatAndroid. So far, I have had to manually restart the relay in WeeChat, and flush the cache in WeechatAndroid and restart it to get the new certificate (I was previously using a self-signed certificate). I have had some problems with certificate caching in WeechatAndroid it seems. You will need port 8443 open in your firewall, of course. So, from within the client: /relay sslcertkey Now the only thing left to do is setup the relay itself in WeeChat. etc/letsencrypt/live//fullchain.pem > \Ĭhown aaron.aaron ~aaron/.weechat/ssl/relay.pem Where the contents of "/usr/local/sbin/renew.sh" are: #!/bin/bashĬat /etc/letsencrypt/live//privkey.pem \

So, in my root's crontab, I have the following: 39 12 * * 4 /usr/local/sbin/renew.sh
#Weechat lanca bolsa ny code#
Unfortunately, certbot(1) does not provide a useful exit code when renewals aren't needed, so rather than parsing text, I'll just copy the new certs into my WeeChat directory, regardless if they get updated or not.
#Weechat lanca bolsa ny update#
If a renewal is needed, the tool will update the certificate. If a renewal isn't needed, the certbot(1) tool will gracefully exit. Because it won't renew any more frequently than every 60 days, but I have to have it renewed every 90 days, this gives be a 30-day window in which to get the certificate updated.

So weekly, on Thursday, at 12:39, I'll check to see if the certificate needs to be nenewed. So, not only will you want to automate renewing the certificate, but you'll probably want to automate moving it into the right directory when the renewal is complete.Īs you can see from above, I setup my certificate on a Thursday at 12:39. Also, Let's Encrypt certificates need to be renewed no sooner than every 60 days and no later than every 90 days. For the WeeChat relay, it needs the "privkey.pem" and "fullchain.pem" files combined into a single file.īecause the necessary directories under "/etc/letsencrypt/" are accessible only by the root user, you will need root access to copy the certificates out and make them available to WeeChat, which hopefully isn't running as root. Of course, the "privkey.pem" file is your private key. The "fullchain.pem" file is the "cert.pem" and "chain.pem" files combined. The "chain.pem" file in the Let's Encrypt intermediate certificate. The "cert.pem" file is your public certificate for your CN. Lrwxrwxrwx 1 root root 46 May 19 12:39 privkey.pem ->. Lrwxrwxrwx 1 root root 48 May 19 12:39 fullchain.pem ->. Lrwxrwxrwx 1 root root 44 May 19 12:39 chain.pem ->. Lrwxrwxrwx 1 root root 43 May 19 12:39 cert.pem ->. The execution will create four files: # ls -l /etc/letsencrypt/ĭrwx- 3 root root 4096 May 19 12:36 accounts/ĭrwx- 3 root root 4096 May 19 12:39 archive/ĭrwxr-xr-x 2 root root 4096 May 19 12:39 csr/ĭrwx- 2 root root 4096 May 19 12:39 keys/ĭrwx- 3 root root 4096 May 19 12:39 live/ĭrwxr-xr-x 2 root root 4096 May 19 12:39 renewal/ $ certbot certonly -standalone -d -m Let's Encrypt documentation, you needs ports 80 and 443 open to the world when creating and renewing your certificate. Once installed, you will need to create your certificate.
#Weechat lanca bolsa ny install#
A simple "apt install certbot" will get that up and running for you. The official Let's Encrypt "certbot" package used for creating Let's Encrypt certificates is already available in Debian unstable. I purchased a domain that points to the IP of that server, and you will need to do the same.

#Weechat lanca bolsa ny verification#
This is all part of the standard certificate verification procedure. With Let's Encrypt certificates, you will need to provide a FQDN for your Common Name (CN). In my case, I run WeeChat on an externally available SSH server behind tmux. This post assumes that you are running WeeChat on a box that you can control the firewall to. And with Let's Encrypt certificates freely available, this is the perfect opportunity to use TLS with a trusted certificate. However, the irssi proxy does not support SSL (2009). This feature isn't unique- it's in irssi also. One of the outstanding features of WeeChat is the relay, effectively turning your IRC client into a bouncer. Then, after getting hired at XMission in January 2012, I switched full-time to WeeChat. Search irssi help topics on this blog, and you'll see just how long. Then I found irssi, and stuck with that for a long time. Yup, I was (shortly) using the ircII client, then (also shortly) BitchX. I've had my hand in a number of IRC clients, mostly terminal-based. Not as long as some, granted, but likely longer than most.
