I haven’t been on vacation for one year. Year before we spent two weeks in a trip over the ocean and that’s all that I have for two years. Since my last vacation, I’ve tired mentally and decided to spend whole days behaving like this:

So, while I was on my digital vacation without laptops and PCs, SSL certificate on my site got expired. Almost. I made a reminder in my calendar to renew but didn’t leave any details how to do that. After terrible night without sleep, I started remembering how to renew certificate on Let’s Encrypt. When I created SSL on my site, I figured out how to create required files on the openshift’s node from a third or fourth attempt. These steps are pretty simple if you know the structure of the deployment on openshift. >_<

But if you don’t this is a stupid stepping one by one over and over again. For example, wordpress deployment is located at following path:

/var/lib/openshift/%_YOUR_APP_ID_%/app-root/repo/php

Therefore, when you stepped down to this directory you can do all that LetsEncrypt’s certbot asks you to do.

By the way, don’t make anything that you can’t debug tomorrow.

Related Posts

devops

Group-ByMonth.ps1

Bare PowerShell is quite odd if you’re using it on daily basis. There are no out-of-box such functions as add to environment path, get server shares, or convert to YAML. Eventually, you create a batch Read more…

devops

DDL and SQL Server Transactional Replication

Disclaimer: This post is not about detailed how-to and not about replication at Microsoft SQL Server at all, but is about my experience and faults. Chapter 1. Never run alter column on replicated table (almost Read more…

asp.net

IIS Web Deploy by VSTS

A task is simple: release my site to IIS. Web Applications can be released through several ways. Usually it is better to choose web deploy. Web deploy is a good technology, but in my opinion Read more…