I am trying to use a self-signed certificate to authenticate against service fabric cluster, however this certificate throws the error in subject. The full error is:
Error initializing provider *servicefabric.Provider: failed to load TLS keypair: tls: failed to find any PEM data in certificate input
The certificate file is in correct format, with ----- BEGIN CERTIFICATE ----- and ----- END CERTIFICATE ----- tags. I can open this certificate in windows and see it's contents, but traefik thinks that the certificate is not in correct format. Please help!