Posts

Showing posts from September, 2016

Featured Post

important keytool commands

List keystore keytool -list -v -keystore mykeystore.jks this willlist keystore file  Export public key as cert - mycert.cer keytool -export -alias server -file mycert.cer -keystore ServerKeyStore.jks Enter keystore password: Certificate stored in file

SSL certificate installation

Installing the certificate to your Java Keystore Download your SSL Certificate bundle file (your_domain_name.p7b) from your DigiCert Account to the same folder where your keystore is (your_site_name.jks if you used our  keytool CSR command generator ). The one .p7b file contains all of the necessary certificates for your keystore. ***NOTE***:  The certificate must be installed to the same keystore that was used to generate your CSR. You will get an error if you try to install it to a different keystore. Type the following command to install the certificate file: keytool -import -trustcacerts -alias server -file your_domain_name.p7b -keystore your_site_name.jks If the certificate is installed correctly, you will receive a message stating " Certificate reply was installed in keystore " If it asks if you want to trust the certificate. Choose  y  or  yes . Your keystore file (your_site_name.jks) is now ready to use on your server. Just configure...

SSL CSR generation - certificate signing request

Create a New Keystore You will be using the keytool command to create your new key-CSR pairing. Enter the following: keytool -genkey -alias myalias -keyalg RSA -keysize 2048 -keystore domain.jks 'Yourdomain' is the name of the domain you are securing. However, if you are ordering a Wildcard Certificate, do not include * in the beginning of the filename as this is not a valid filename character. You will be prompted for the DN information. Please note: when it asks for first and last name, this is not YOUR first and last name, but rather your domain name and extension(i.e., www.yourdomain.com). If you are ordering a Wildcard Certificate this must begin with *. (example: *.digicert.com) Confirm that the information is correct by entering 'y' or 'yes' when prompted. Next you will be asked for your password to confirm. Make sure to remember the password you choose. Generate Your CSR with Your New keystore Next, use keytool to actually create...

How mail server works is matter

Resolving mail server problems with Nslookup and Telnet E-mail has become a mission-critical tool in most businesses. In this Daily Drill Down, Ron Nutter shows you how to use Nslookup and Telnet to help diagnose problems when e-mail doesn't go through. Users don’t give much thought to how e-mail works. They just type their messages, click Send, and—whoosh!—away goes their e-mail. From an administrator’s perspective, you can only hope it works that easily. Unfortunately, it rarely does. You will face common problems, such as messages that don’t get delivered to an external e-mail address. This can manifest itself in Exchange as 550 errors, when trying to send mail. Non-Exchange e-mail servers will vary their complaints, but they will normally report host resolution errors. You may also notice e-mail piling up in the outbound queue. DNS failures can cause these errors. In this Daily Drill Down, I’ll show you how to identify the cause of these problems using Nslookup and Teln...

calling Google DDNS using - nodejs

Hi Friends, this is the program which I use to update my DDNS using node.js var request = require("request"); var schedule = require("node-schedule"); var options = { method: 'POST',   url: 'https://user:password@domains.google.com/nic/update',   qs: { hostname: 'example.com', myip: 'myip' },   headers:     { 'postman-token': '61e928e4-a373-9d70-7f66-2b2f5f48a9e8',      'cache-control': 'no-cache' } }; var j = schedule.scheduleJob('2 * * * * *', function(){ console.log(" ");  request(options, function (error, response, body) {   if (error) throw new Error(error);   console.log(body); });   console.log(" "); });

calling Google DDNS using - nodejs

Hi Friends, this is the program which I use to update my DDNS using node.js var request = require("request"); var schedule = require("node-schedule"); var options = { method: 'POST',   url: 'https://user:password@domains.google.com/nic/update',   qs: { hostname: 'example.com', myip: 'myip' },   headers:     { 'postman-token': '61e928e4-a373-9d70-7f66-2b2f5f48a9e8',      'cache-control': 'no-cache' } }; var j = schedule.scheduleJob('2 * * * * *', function(){ console.log(" ");  request(options, function (error, response, body) {   if (error) throw new Error(error);   console.log(body); });   console.log(" "); });