remove dependency on node-crypto
repair certificate generation after jwcrypto port