Cert_file cannot be empty when using HTTPS

I need to enable HTTPS on my Grafana Windows Server. I notice error appears after grafana-server.exe
"e[31mERORe[0m[10-26|15:33:15] Stopped HTTPServer
e[31mloggere[0m=server e[31mreasone[0m=“cert_file cannot be empty when using HTTPS”

#################################### Server ####################################
[server]

Protocol (http, https, h2, socket)

protocol = https

The ip address to bind to, empty will bind to all interfaces

;http_addr =

The http port to use

;http_port = 3000

The public facing domain name used to access grafana from a browser

;domain = localhost

Redirect to correct domain if host header does not match domain

Prevents DNS rebinding attacks

;enforce_domain = false

The full public facing url you use in browser, used for redirects and emails

If you use reverse proxy and sub path specify full url (with sub path)

;root_url = %(protocol)s://%(domain)s:%(http_port)s/

Serve Grafana from subpath specified in root_url setting. By default it is set to false for compatibility reasons.

;serve_from_sub_path = false

Log web requests

;router_logging = false

the path relative working path

;static_root_path = public

enable gzip

;enable_gzip = false

https certs & key file

;cert_file =
;cert_key =

Unix socket path

;socket =

I need to enable HTTPS on my Grafana Windows Server.
I notice error appears after grafana-server.exe
logger=server reason=“cert_file cannot be empty when using HTTPS”

How do you expect to use HTTPS without a certificate?

https certs & key file

;cert_file =
;cert_key =

Antony.

Since this is Windows box, should IIS be used to setup cert?

I have no familiarity with Windows, however I don’t see why you would use IIS
(which I believe to be a web server) to set up an SSL certificate.

I mean, suppose you wanted to use IIS to offer an HTTPS website (nothing
whatever to do with Grafana). You would generate the certificate and then
install it into IIS, surely? I can’t see that you would use IIS itself to set
up the certificate…

Antony.

I see that https certs & key needs file, is there an easy way to create certs & file for Windows.