ResolutionYou can check it by running the following commands:
openssl rsa -noout -text -in server.key
openssl x509 -noout -text -in server.crt
The keys and certificate, you would like to check shoud be put to server.key and server.crt files accordingly, then check modulus section.
The modulus section should be the same.