Creating openssl certificates for replication

EDIT:
I might have had typos copy pasting last time.
I have made the certificates without error today.

Are there instructions/documetation to create ssl certificates for mysql?
I will use them for mysql replication in a QA environment.

Can I just simply use the certs created automatically in the /var/lib/mysql directory?

I tried using the instructions from the mysql documentation:

But the resulting certs give me an error when I try to verify them:
openssl verify -CAfile ca.pem server-cert.pem client-cert.pem
C = US, L = Default City, O = Default Company Ltd
error 18 at 0 depth lookup: self signed certificate
error server-cert.pem: verification failed
C = US, L = Default City, O = Default Company Ltd
error 18 at 0 depth lookup: self signed certificate
error client-cert.pem: verification failed

errors probably due to typos