User avatar
punkrock
Lisker
Posts: 105
Joined: Thu Feb 25, 2016 6:41 pm
Location: Germany
Contact: Website Twitter

Re: HowTo: Free SSL Certificate Creation and Configuration (UPDATED 2016-12-03)

Thu Dec 08, 2016 12:18 am

Ubuntu 16.04

For me, the commands to save the configs for iptables didn't work.

The commands in your tutorial:

Code: Select all

sudo service iptables-persistent save
OR
sudo invoke-rc.d iptables-persistent save


I only get the message:
iptables-persistent: unrecognized service


This worked for me:

Code: Select all

sudo service netfilter-persistent save
Last edited by punkrock on Thu Dec 08, 2016 2:10 pm, edited 1 time in total.
Delegate name: punkrock
Address: 6853061742992593192L


Daniel B. - Former Lisk ambassador for Germany
Website | My delegate proposal | Twitter | Bitcointalk

User avatar
Gr33nDrag0n
Lisker
Posts: 123
Joined: Sat Mar 26, 2016 8:22 pm
Location: Quebec, Canada

Re: HowTo: Free SSL Certificate Creation and Configuration (UPDATED 2016-12-03)

Thu Dec 08, 2016 1:57 am

punkrock wrote:Ubuntu 16.04

For me, the commands to save the configs for iptables didn't work for me.

The commands in your tutorial:

Code: Select all

sudo service iptables-persistent save
OR
sudo invoke-rc.d iptables-persistent save


I only get the message:
iptables-persistent: unrecognized service


This worked for me:

Code: Select all

sudo service netfilter-persistent save


Thanxs for letting me know, I will modify main post to include this information.
Gr33nDrag0n | 194109334904015388L | Delegate | lisknode.io

User avatar
Poly#Crypto
Lisker
Posts: 430
Joined: Thu May 05, 2016 2:19 pm
Contact: Twitter

Re: HowTo: Free SSL Certificate Creation and Configuration (UPDATED 2016-12-07)

Sun Dec 11, 2016 12:32 pm

iptables-persistent is somewhat peculiar :geek:

On my KVM VPS Server with Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-53-generic x86_64) it works with:

Code: Select all

sudo invoke-rc.d netfilter-persistent save


On my Root Server with Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-53-generic x86_64) it works with:

Code: Select all

sudo netfilter-persistent save
polycrypto ❖ Lisker since day one ❖ 7 secure nodes - Mainnet/Testnet

My Delegate Proposal | My Transparency Reports | My Twitter | Bitcointalk Profil

User avatar
punkrock
Lisker
Posts: 105
Joined: Thu Feb 25, 2016 6:41 pm
Location: Germany
Contact: Website Twitter

Re: HowTo: Free SSL Certificate Creation and Configuration (UPDATED 2016-12-07)

Sun Feb 19, 2017 1:41 pm

How to manually renew your certificates without changing your forwarding rules:

If you are forwarding port 443 to 2443 like me and you are doing your renewals manually, then this will fasten up the renew progress.

1. Open port 80 in your firewall.

2. Then create a new certificate by using this:

Code: Select all

sudo /opt/certbot/certbot-auto certonly --standalone-supported-challenges http-01 --rsa-key-size 4096 -d DOMAIN.TLD --email contact@DOMAIN.TLD --agree-tos


This creates a new certificate using challange http-01 which allows you to renew the certificate now with one command over port 80:

Code: Select all

sudo /opt/certbot/certbot-auto renew --agree-tos
Delegate name: punkrock
Address: 6853061742992593192L


Daniel B. - Former Lisk ambassador for Germany
Website | My delegate proposal | Twitter | Bitcointalk

User avatar
Poly#Crypto
Lisker
Posts: 430
Joined: Thu May 05, 2016 2:19 pm
Contact: Twitter

Re: HowTo: Free SSL Certificate Creation and Configuration (UPDATED 2016-12-07)

Sun Apr 23, 2017 9:04 am

Since Ubuntu 16.04 LetsEncrypt can also be handled more easily.

Install:

Code: Select all

sudo apt-get install letsencrypt


Generate certificate:

Code: Select all

sudo letsencrypt certonly --standalone --rsa-key-size 4096 -d <your-domain> --email <your-email> --agree-to


Renew the certificate:

Code: Select all

sudo letsencrypt renew


Note: Be sure you have open the appropriate ports when generating and renewing the certificate.
polycrypto ❖ Lisker since day one ❖ 7 secure nodes - Mainnet/Testnet

My Delegate Proposal | My Transparency Reports | My Twitter | Bitcointalk Profil

Return to “Guides”

Who is online

Users browsing this forum: No registered users and 2 guests