How to force the admin-ajax.php file to load over HTTPS?
If you are using Domain Mapping plugin doing this will quickly achieve exactly what you are asking for. Go to: YOURDOMAIN/wp-admin/tools.php?page=domainmapping Under: Excluded pages, check: Force SSL for all pages. Save and you’re done. Your insecure mixed content error due to admin-ajax.php loading via http instead of via https should be gone after this.