This usually means that you don't have the correct subject alternate name in your certificate, did you include the IP? If yes, can you ran the same command but use the IP address instead of the fqdn?
Believe it or not but I have seen issues sometimes with "!", as this can serve as an escape character now as well sometimes ... good experience with "@" and "." so far from my side.