Skip to content


Archive for June, 2012

Installing root CA in Ubuntu linux

Ubuntu is holding all root CA certifcates in the path /usr/share/ca-certificates so you can create one more folder – extra in the path,

# sudo mkdir /usr/share/ca-certificates/extra

Let’s say your CA certificate name cacert.crt so copy the certificate to the extra folder

# sudo cp cacert.crt /usr/share/ca-certificates/extra

Add the entry to the file “extra/cacert.crt” (you can see all other CA certificates added in the ubuntu)

# sudo vi /etc/ca-certificates.conf  (I am using vi editor)

Update the installed CA’s

# sudo update-ca-certificates

shareit@ubuntu:~# sudo update-ca-certificates
Updating certificates in /etc/ssl/certs… WARNING: Skipping duplicate certificate cert_igca_rsa.pem
WARNING: Skipping duplicate certificate cert_igca_rsa.pem
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d….done.

You have done the job.

Generating OpenSSL certificate in Ubuntu:

When you copy or move files and folders by using Windows Explorer, the permissions that are set on the files or folders may change. For example, when you copy a file in an NTFS file system volume or between two NTFS volumes, Windows servers treats it as a new file. As a new file, it takes on the permissions of the destination folder, and you become the CREATOR OWNER.

NOTE: You must have Write permission for the destination folder to copy files and folders.

You can use the Xcopy command with the /O/X/E/H/K switches to copy the files and retain the existing permissions that have been specifically applied to the file or files.

These switches have the following effects:

/E – Copies folders and subfolders, including empty ones.
/H – Copies hidden and system files also.
/K – Copies attributes. Typically, Xcopy resets read-only attributes.
/O – Copies file ownership and ACL information.
/X – Copies file audit settings (implies /O).

NOTE: This procedure does not override inherited permissions. When you use the Xcopy command with the /O /X /E /H /K switches to copy the files, the following inherited permissions apply:

  • The security settings that are directly assigned to the files and folders are retained.
  • The security settings that are inherited from the source parent folder are lost.
  • The security settings of the destination folders are inherited.
  • When you move files or folders to FAT volumes, the folders and files lose their NTFS permissions because FAT volumes do not support NTFS permissions.


Open Command Prompt, Run –> cmd, Type xcopy /O /X /E /H /K c:\Source d:\Destination, and then press ENTER.


If you want to check your SSL Certificate status click the following link;

This SSL Checker will help you diagnose problems with your SSL certificate installation. You can verify the SSL certificate on your web server to make sure it  is correctly installed, valid, trusted and doesn’t give any errors to any of your users. To use the SSL Checker, simply enter your server’s hostname (must be public) in the box below and click the Check SSL button. If you need an SSL certificate, check out the SSL Wizard.