Mastodon

Letsencrypt – Generating certificate and deploy on production server

I had a situation where I do not wanted to install all the libs required by LetsEncrypt on a production server.  For the mere fear of breaking the running apps.

I went on exploring how to setup a server to generate SSL certs with letsencrypt and deploy the generated certs on the production server.  Below I describe the steps with some do’s and don’t.

Continue reading Letsencrypt – Generating certificate and deploy on production server

nmtui – a nice tool to tweek network settings in centos

If you ever ran into an issue of having two network card and wanted to make one as primary, nmtui can be a handy tool.

Ideally defining GATEWAY to one of the network interfaces would solve the problem but this situation is ideal when one has static and other has dynamic IP or both have static IPs.  My situation was even complex when I had both the interfaces get its config via dhcp.  In this case I really cannot control which interface should have the GATEWAY defined and which not.

With the help of nmtui command, i could tweek the network interface settings where I selected the below option for all the interfaces accept the primary one:

Never use this network for default route

And that was it.  Hope it helps someone needy.  [tweetthis]nmtui – to tweek your network settings. [/tweetthis]