compat with LuaCrypto add x509_ca support.