add x509-type client/server