CertificateAuthorityTool: do not generate cert with empty common_name
CertificateAuthorityTool: fix cleanup and exception handling when generating or revoking certs
CertificateAuthorityTool: symlink must be relative when target is in same directory
CertificateAuthorityTool: fix mode of private key to make it only readable by the owner
Merge fixes to Certificate Authority Tool