`openssl req`: a PKCS#10 certificate request and certificate generating utility

How to create a root certificate using openssl req?