IIS requires a .pfx format to import. I will show you two commands Command to export a SSL certificate from Tomcat to IIS keytool -importkeystore -srckeystore certificates.ks -srcstoretype JCEKS -destkeystore jordansphere.pfx -deststoretype PKCS12 Note: You'll need the original keystore password for the export. Command to export a SSL certificate from Apache to IIS openssl pkcs12 -export Read More…
The file type is not recognizable. Select another file – Import pfx file into IIS
I wanted to move a wildcard SSL certificate from Apache to IIS 7.5. From the server running Apache server I exported it using: openssl pkcs12 -export -out jordansphere.pfx -inkey jordansphere_cert.key -in jordansphere_cert.pem I then FTP'd this to my IIS server and tried to import. However, this message appeared: "The file type is not recognizable. Select Read More…
ICMP Packet Dropped Due to Policy – Over Sonicwall VPN
Site A required the following site-to-site VPN created. The above was all created with ease and the VPN connection came up. Site A then requested that the ONLY service allowed over the VPN was "Ping". The following 2 firewall rules were applied: VPN -> VLAN ZONE And the reverse for VLAN ZONE-> VPN However, this didn't work Read More…
Run Cronjob every other week (fortnightly)
A customer has a development server and production server. They wanted all the patches updated on the development server 1 week before being replicated on the live server – although, of course there might be updates that come out within the 1 week period that may cause issues. My task was to set up the cron jobs Read More…
Random Loss of Connectivity on ESXi5 NICs.
We lost network connectivity to all of the VMs on a particular ESXi 5.0 host. vMotion, Mgmt Network and Storage network were all unaffected. No other host was affected and the NICs were twinned for resilience. When clicking on the NICs via the dVS tab none of the CDP information was showing for either NIC (Cisco Read More…
Enable SNMP FreeBSD
1) Install Net-SNMP # cd /usr/ports/net-mgmt/net-snmp # make install clean 2) Create SNMP conf file # vi /usr/local/share/snmp/snmpd.conf syscontact [email protected] rocommunity public 10.0.0.1/24 syscontact Jordansphere syslocation London 3) Start SNMP service # /usr/local/etc/rc.d/snmpd start 4) Input line in rc.conf so it starts on a reboot # vi /etc/rc.conf snmpd_enable="YES"
Configuring MySQL Replication 5.5 in 6 steps
Scenario: You want to create a MySQL replication between an exisiting master and a brand new slave. Both machines running FreeBSD 8.x with MySQL 5.5. The master server currently has a mixture of InnoDB and MyISAM engines. A small amount of downtime is available. Master server: 10.1.1.1 Slave server: 10.1.1.2 (1) ON Read More…
Install Telnet Client via CLI on Windows 7
To install the Telnet client on a Windows 7 machine Click the Start menu -> Type cmd into the search box. Open the command prompt. Type the following: pkgmgr /iu:”TelnetClient” Alternatively if you want to install via the GUI; Go to Control Panel -> Programs & Features -> Turn Windows features on or off Read More…
Using Logrotate with MySQL Database Backups
Scenario: I wanted to backup all the databases individually from a MySQL server and keep for x days. I set about achieving this using a custom script combined with logrotate. The server is running FreeBSD 8.x. 1) Firstly, the script (backup-all-dbs.sh): #!/usr/local/bin/bash # backup-all-dbs.sh # backup each mysql db into a different file, rather Read More…
Wavecom : Error 512 when sending SMS
Scenario Our Wavecom Fastrack 9000E GSM modem suddenly started giving an error and was refusing to send text messages. The device is attached to Centos 5.x VM which in turn uses a serial port on an ESXi 5.0 server. We use smsd to send the text messages. # tail -f /var/log/smsd.log 2013-07-27 10:35:18,6, GSM1: Modem Read More…
You must be logged in to post a comment.