I am trying to create a root certificate and add it to an EC2 server, but at the last step before the server part I keep getting an error saying unknown digest CAKey. I am doing this in the latest version of Kali. The commands work fine up untill the last one.openssl genrsa -out myca.key 2048cat myca.keyopenssl req -new -key myca.key -out myca.csropenssl x509 -req -trustout -signkey myca.key sha256 -in myca.csr -out myca.crtopenssl genrsa -out webserver.key 2048openssl req -new -key webserver.key -out webserver.csr At the next line is where I am getting the error.openssl x509 -req -CA myca.crt -CAkey myca.key -CAcreateserial sha256 \                                -in webserver.csr -out webserver.crtAs stated above, this fails with the message unknown digest CAKey.What do I need to do?
Unknown digest for self-signed certificate in Kali
kali linux;openssl;certificates