Added support for x509 signing of metadata