openssl ecparam -name prime256v1 > ecdsaparam

openssl req -nodes -new -newkey ec:ecdsaparam -config revokedpub.cnf -keyout revokedpubkey.pem -out revokedpubreq.pem

openssl ca -batch -create_serial -config maincaconf.cnf -days 3650 -in revokedpubreq.pem -out revokedpubcert.pem

openssl ca -config maincaconf.cnf -revoke revokedpubcert.pem

openssl ca -config maincaconf.cnf -gencrl -out maincrl.pem
