Category Archives: Uncategorized

Recently I bought an SSL certificate for this blog from MegaSSLStore. My website is hosted on a FreeBSD machine and served by Nginx web server. In order to install the certificate on this machine, I downloaded from MegaSSLStore the certificate and CSR+private key and I copied them on my server in /usr/local/etc/nginx/ssl

Shell

1

2

3

4

5

6

7

8

# scp -P22 * root@razvantudorica.com:/usr/local/etc/nginx/ssl

root@RTU001/usr/local/etc/nginx/ssl# ls -lh

total32

-r--------1root wheel5.5KDec1411:39razvantudorica.com.ca-bundle

-r--------1root wheel1.9KDec1411:39razvantudorica.com.crt

-r--------1root wheel1.1KDec1411:39razvantudorica.com.csr

-r--------1root wheel1.7KDec1411:39razvantudorica.com.key

Because I have an .crt certificate and also a ca-bundle I need to combine these two files in one certificate:

Today I had to read about git tags in order to be able to explain in a better way why somebody would use tags and for what. The old (and still good) git workflow explains very well how to develop using branches but doesn’t explain too well why we create the tags and how should be used on production. It just saying “that commit on master must be tagged for easy future reference to this historical version”. If you followed that guide and now you are ready to go live with your code changes, you maybe wonder what should you do with the tag? Why did you create it. Some people would say, just leave it there, maybe somebody, in a shiny day will take a look to it. Just go to production and do git pull origin master. But I don’t think this is the purpose of the tag.

REST Anti-Patterns – A lot of people (or companies) pretend to have a REST API. Read this article and you will understand that not all the API’s that implement GET and POST methods are REST APIs. It is an old article (from 2008), but still valid.