Too many redirects after adding wildcart ssl

I created my multisite over HTTP. Then I added wildcard SSL on my server, and changed the main site URL to HTTPS. But still, when I create a new subsite, it's created in HTTP, not in HTTPS.

How can I set it so new subsites will be created over HTTPS when the sites are created?