I bought a wild certificate for main domain & my sub domains problem is somebody visit its go directly https site but some reason sub-domain redirect is not happening my .htaccess is given below for reference
# for main domain
RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC]
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://domain.com%{REQUEST_URI} [R=301,L,NE]
# for sub domain Indian customer
RewriteCond %{HTTP_HOST} ^(www\.)?in\.domain\.com$ [NC]
RewriteCond %{HTTPS} on [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ http://in.domain.com%{REQUEST_URI} [R=301,L,NE]
# for sub domain for US customer
RewriteCond %{HTTP_HOST} ^(www\.)?us\.domain\.com$ [NC]
RewriteCond %{HTTPS} on [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ http://us.domain.com%{REQUEST_URI} [R=301,L,NE]