Scripts : Deprecated : Miscellaneous
Self Signed SSL keys
Submitted by Admin on February 14, 2008 - 12:22pm.
Generate and Install new server keys (SSL)
The process of generating a self signed secure server key can be somewhat daunting to people new to Linux in general. This script will allow you to generate a self signed key for testing your PBX in a Flash. For example if you have an assigned FQDN (Fully Qualified Domain Name) you will be able to enter it and generate various files so you will be able to access your PBX in a Flash securely. For example typing https://yourname.fqdn.org in your browser should open up a secure browser window to your PBX in a Flash over the internet.
If you don't have a domain name I would recommend you get one from www.dyndns.org. It is free! NOTE you will have to rename your PBX in a Flash computer with your FQDN before you run this script. I recommend you use WEBMIN - Network Configuration - Hostname and DNS Client to change the name of your machine. Also you should create a new entry in the WEBMIN - Network Configuration - Host Addresses that match your new domain name and internal IP address.
You will also need to use a password as you will be asked for this a few times while the script is running. I recommend you write this password down and store it someplace safe. Prior to running this script you will need the following information.
- Fully Qualified Domain Name (FQDN)
- Changed the name of your PBX in a Flash machine to match the FQDN using webmin
- Written down a password somewhere you can refer to until this script is complete
- Answered the following questions on paper prior to running the script and have it available for reference.
| Information | Description or Example |
| Two Character Country Code | For example: US = United States |
| State or Province Name | For example: Florida |
| City Name | For example: Pbxinaflash City |
| Company Name | For example: Pbxinaflash Corporation |
| Department | For example: Information Technology |
| FQDN | For example: pbxinaflash.dyndns.org |
| Admin's email address | For example: admin [at] dyndns [dot] org |
Installation
- cd /root
- wget http://www.pbxinaflash.org/scripts/install-key.x.gz
- gunzip install-key.x.gz
- chmod +x install-key.x
- ./install-key.x
- rm -f install-key.x
Documentation
Script Creator: Tom King
Testing The System
On another computer with a browser type in the address window https://youripaddress (substitute your own ip address) and tap the ENTER key. You will be asked if you accept this certificate and click yes always. You might see screen that says unable to verify the certificate and this is due to it being a self signed certificate. You will need to accept this certificate.

PBX In A Flash Scripts