I know in *.htaccess* I can redirect everyone to https. However, my SSL certificate complains if NOT all the content is HTTPs.

Is there a way to convert all the resources to use HTTPS without renaming all the http to https in the HTML code?

EXAMPLE: If I type in http://domain.com it will go to https://domain.com. However, images are not using https which causes issues. Is there a way to make ALL the resources use https?

I have this:

    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} ^www.domain\.com$ [NC]
    RewriteRule ^ https://domain.com%{REQUEST_URI} [L,R=301]

However, my EV certificate will vanish because of unsecured content. So I need all the images to also be HTTPs