I believe ...I am maybe wrong ... You are maybe not changed all urls inside WordPress properly.
If you did, according to https://codex.wordpress.org/Function_Reference/admin_url
admin_url('admin-ajax.php','https');
use second parameter to force https