Getting SSL certificate from remote server with OpenSSL


I encountered a strange problem and I cannot spin my head around it.
I’m trying to validate a SSL certificate using OpenSSL from command line:

openssl s_client -showcerts -connect server.org:443

But no matter which domain on this server I call that way it delivers always the certificate of the first (alphabetically) domain on that server even if this particular domain do have own certificate. Also when I call any of this urls in browser everything works correctly

Any idea what have I done wrong?

Regards,
Radek