title: How to implement https in Jenkins Windows 2012 r2
body: <p>I need to implement Https for the Jenkins server. for that i have done the below steps.</p>
  
  <p>Step 1: openssl genrsa -out domain_name_8080.key 2048</p>
  
  <p>Step 2: openssl req -new -key domain_name_8080.key -out domain_name_8080.txt</p>
  
  <p>Step 3: Send this to the internal certificate authority for generating the .cer 
          file.</p>
  
  <p>Step 4: I created a new keystore with the command: keytool -genkeypair -keysize 
          2048 -keyalg RSA -alias domain.name:8080 -keystore keystore2</p>
  
  <p>Step 5: keytool -list -keystore keystore2</p>
  
  <p>Step 6: keytool -keystore keystore2 -importcert -alias 
          domain_name_8080 -file Jenkinscert.cer(live cer file)</p>
  
  <p>Step 7: keytool -list -keystore keystore2</p>
  
  <p>Step 8: Copy the keystore2 to secrets folder</p>
  
  <p>Step 9: edit the xml file by giving the details --httpsPort=8443 --httpsKeyStore="%BASE%\secrets\keystore2" --httpsKeyStorePassword=P*****1 </p>
  
  <p>I followed the above steps but unable to implement https. If anybody know how to implement https for jenkins please help. I have the files .cer, .key file with me.</p>