Combining a key and certificate into a .pfx file

If you want to use SSL with your site in Azure you need to have a .pfx file.

We Apache you most likely have a certificate and a private key. I am using certificate from Letsencrypt.

Using openssl you can generate the .pfx file like this:

openssl pkcs12 -export -out /tmp/certificate.pfx
-inkey /etc/letsencrypt/live/yourdomain.tld/privkey.pem
-in /etc/letsencrypt/live/yourdomain.tld/cert.pem
-certfile /etc/letsencrypt/live/yourdomain.tld/chain.pem

Replace yourdomain.tld with your actual domain name.
You will be asked for a password to protect the .pfx file

IMPASSA Self-Contained 2-Way Wireless Security System (model SCW9057)

This wireless security system is widely used by ADT and companies providing security.

Useful links:

IMPASSA Self-Contained 2-Way Wireless Security System

DSC – IMPASSA Self-Contained 2-Way Wireless Security System – User Video English

DSC IMPASSA 2 Way Wireless Security System

How to Change Master and User Code on DSC Powerseries

How to Program DSC Neo Proxy and PG9939 Keyfob

Default master/installer code

The default code is 1234 or 5555.

It might be changed on your system and if you make few wrong attempts the keyboard will be locked temporarily.

How to reset to factory settings

If you do not have the master code or installer code you are limited in what you can do with the system.

You can do a factory reset and will be able to set your own master code.

NOTE: If you do a factory reset all settings will be lost including any zones, sensor information, etc.

To do a factory reset do the following:

  • turn the AC power off (unplug the transformer)
  • open the front panel (check the user manual on how to do it) and disconnect the battery pack
  • connect IO1 and IO2 with a wire
  • Power the device with AC only. Keep it power for 10 to 20 seconds
  • Power off the device
  • remove the wire between IO1 and IO2
  • connect the battery
  • Turn the AC power on

Now you device is factory reset. You need to configure everything including set the date and time.

The default master/installer code is 1234

Programming

If you have the master/installer code you can do things like

  • adding a new user code for a family member or the cleaning lady
  • adding new sensors
  • programming new wireless remote

Add new user

[*][5] [1][2][3][4]  [<][>]     [*]               [9][7][1][3]     [#]
       master code   select user      to access code    new user code    exit

Delete user

[*][5] [1][2][3][4]  [<][>]     [*]               [*]      [#]
       master code   select user      to access code    delete   exit

Baked Potatoes

Preparation

  • Peel the potatoes and cut them into small pieces (a cube with 1 inch side)
  • Place the potatoes in a baking pan. Make sure you have enough to cover the pan with two layers.
  • Dice two onions and add then to the pan.
  • Add one can of tomatoes (28 OZ / 794g)
  • Add 3 to 5 table spoons of cooking oil
  • Add salt to taste
  • Mix everything well
  • Add water so it covers the mix completely
  • Cover the cooking pan with a tin foil and place in the oven to bake at 425°F
  • Let it cook for at least 1 hour. Check with a fork if the potatoes are soft. If not leave it in the oven and check periodically.
  • When the potatoes become soft it is ready.
  • You can add some parsley at the top.
  • Leave to cool off to a temperature at which it can be consumed

Bon Appétit!

 

 

Letsencrypt + Certbot

Letsencrypt provides free SSL certificates

Certbot automates re-newal and installation of the certificates

Install Certbot:

$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache

Generate and install the certificate

$ certbot --apache

Generate the certificate only

$ certbot --apache certonly

Generate wildcard certificate

$ sudo certbot certonly --manual --preferred-challenges=dns --email yourname@yourdomain.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.yourdomain.com

Renewal

The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let’s Encrypt certificates last for 90 days, it’s highly advisable to take advantage of this feature.

$ sudo certbot renew --apache