I\'m trying to use Emacs gnus to connect to my gmail account. This is the relevant configuration code, taken mostly from here:
(setq tls-program \'(\"openssl
What worked for me is using a gnutls port for windows instead of openssl, and removing any customization of tls-program. Emacs will use the binaries from gnutls automatically if they are on your path since gnutls-cli is the first program to try in the default values of tls-program.
I suggest using gnutls before trying openssl, it probably comes first in the defaults for a reason.