Adam Dutko

Intellectually Curious Software Engineer and Instrument Rated Private Pilot

Read this first

Quick PostgreSQL Configuration for Developers

Are you a software developer? Do you need to setup a local PostgreSQL server for development on your machine and you’ve struggled with it in the past? Then don’t waste your time. If you follow the directions laid out in the post then you should be up and running quickly.

Debian GNU/Linux

If you work with Debian GNU/Linux, the best way to install the latest version of PostgreSQL is to use the packages provided by the PostgreSQL project. The latest packages may be found here. Once on the page, you’ll want to choose which version of Debian GNU/Linux you’re using from the drop-down list then add the link to your APT sources list, retrieve and install the key provided by the project to sign packages, then use APT to install the version of PostgreSQL you wish to install. Below this paragraph you will find a sequence of commands that correspond to what I just wrote and an additional set of...

Continue reading →


Import a Signed Certificate Into a New Key Store

Are you a software developer? Do you need to setup Tomcat with a secure connector using an existing signed certificate? If you follow the directions laid out in the post then you should be up and running quickly.

What you’ll need

  • GNU/Linux Host
  • Apache Tomcat Installation
  • Root Access
  • A Signed Certificate
  • The Private Key File for the Signed Certificate

Create PKCS12 File

First create a PKCS12 file using the signed certificate and key.

root@www0:~ openssl pkcs12 -export -in runbymany.com.crt -inkey runbymany.com.key -name *.runbymany.com -out runbymany.com.p12

Create KeyStore File

Second, you will need to create a keystore using the signed certificate and key.

NOTE: Select a value for PASSWORD and remember it.

root@www0:~ keytool -importKeyStore -deststorepass PASSWORD -destkeystore runbymany.com.jks -srckeystore runbymany.com.p12 -srcstoretype PKCS12

Update Server.xml and

...

Continue reading →