The code has several errors, most importantly those that reflect a misunderstanding of which values are present in which server variables as well as how back-references are assigned and named. The corrected code would look like this:
# Externally redirect English-domain SSL requests to German domain
RewriteCond %{SERVER_PORT} =443
# alternate version of preceding directive required by some server configurations (commented-out)
# RewriteCond %{HTTPS} =on [NC]
RewriteCond %{HTTP_HOST} ^(www\.)?my-english-domain\.net [NC]
RewriteRule ^(.*)$ https://%1my-german-domain.net/$1 [R=302,L]
However, since SSL auth is performed before any mod_rewrite code is executed, you may still get security warnings, even with this technically-correct code. If this occurs, you may need to re-architect your site so that domain redirection is only performed on non-SSL pages, and simply offer a "click here to go to the German domain" interstitial page if an English page request is made via SSL.
Alternatively, set up the English and German sites on two separate server instances, with proper SSL certificates for each.
Also it is generally recommended to canonicalize hostnames, so that you do not create duplicate-content problems and so that you do not have to handle both the "www" and non-www cases in every rule. That is, pick either the "www" hostname or the non-www hostname as your correct and canonical hostname, and always redirect requests for the "wrong one" to the "right one."
Assuming that you want the non-www hostname as your canonical hostname, in the code above, this would involve removing the "%1" back-reference from the RewriteRule substitution, and then following that rule with another one:
RewriteCond %{HTTP_HOST} ^([^.]+\.)*my-english-domain\.net [NC]
RewriteCond %{HTTP_HOST} !^my-english-domain\.net$
RewriteRule ^(.*)$ http://my-english-domain.net/$1 [R=301,L]
A similar hostname-canonicalization rule should be installed on your German domain to handle any non-canonical-hostname requests arriving at that server which *have not* been redirected from the English domain, and which therefore have not already been checked for canonical hostname.
All variations in pattern-anchoring and case-sensitivity in the code above are intentional.
Additional canonicalization redirects are also recommended, such as redirecting requests for "my-<language>-domain/index.php" to "my-<language>-domain/" to eliminate duplicate-content between "/index.xyz" and "/".
Rule order is critical -- See the thread in our Apache Forum Library titled "Proper order for htaccess" for more information.
Jim
[edit] Corrected as noted below. [/edit] [edited by: jdMorgan at 3:52 pm (utc) on Jan 16, 2011]