Validating a CSR with openssl

I had a problem getting a CSR to work in GoDaddy’s SSL certificate wizard, it would never accept the CSR. I am working with their support currently, but I wanted to validate the CSR on my own first. This is how I did it:

openssl req -noout -text -in

Update: I’m sure you’re all wondering what the problem was! Well, I was copying and pasting the CSR from gedit into their web form. For some reason, gedit was doing something with the text that was not visible – ok, maybe it was visible, perhaps it could have been the color syntax highlighting?   I wouldn’t think that would copy over, and it looked correct in their web form.  Anyway, I simply `cat` the CSR in a terminal window and copied that over and it worked perfectly.