.htaccess redirect http to https subdomain

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^((?!www\.)[^.]+)\.drupalista\.net$
RewriteRule ^ https://%1.drupalista.net%{REQUEST_URI} [NE,L,R]