Setup SSL with HTTP(s) load balancer on google compute engine - ssl

I'm working on a project on Google Compute Engine in which I have installed Jira Service Desk of Atlassian on the VM based on Ubuntu 16.04 and I have an SSL certificate which I want to install on that VM, I figured it out that I can install my own certificate using Load Balancer but don't know how to do this?
How can I install my SSL Certificate with an HTTPS Load Balancer on a compute engine VM with Jira Service Desk of Atlassian installed?

You don't need to use a HTTPS Load Balancer if you just want to install your SSL certificate.
To install your SSL certificate in Jira see their documentation here
However if you actually want to use a load balancer then you must associate at least one SSL certificate with the load balancer's target proxy, it could be Google-managged or self-managed. Detailed steps in GCP public documentation.

Related

how to enable https for my aweb application hosted on google cloud

I acquired SSL certificate through some certificate authority and later installed on google cloud.
Still, my application is not accessible through https
www.eventic.in works but https://www.eventic.in don't work.
Can you please assist me in enabling https?
I want this site to be available only through https. Even if someone access without https, it should be redirected to https.
From the image I see you're configuring your certificates in Google App Engine Custom domains. Please note that Compute Engine (where is your VM) and App Engine are different products. Also it is possible that you're following this doc which is intended for App Engine and not for a VM.
Since you may want to set your certificates in a VM, those configuration remains on the Web server you're using (NGINX, Apache, etc). Also, checking your url https://www.eventic.in I'm sure the port 443 is not configured since this port is in general used for HTTPS.
You may want to look how to configure an SSL for the solution you have running in your VM

Elastic Beanstalk Add more than one ssl certificate

I have a Docker, Django api application that can be called from multiple domains abc.xyx.com or def.lmn.com. I have added successfully the ssl certificate for abc.xyz.com from the configuration console in elastic beanstalk. That allows only one certificate to be added for 443 port.
How do i add the def.lmn.com certificate after creating it from aws certificate manager?
Multiple SSL secured applications can be hosted in aws with each having their own SSL certificates with the help of SNI (Server Name Indication).
In order to achieve this you need to use an Application Load Balancer for your application.
Hence, for using SNI you need to bind multiple certificates to the same listener on your Application Load Balancer.
If you have not configured Application Load Balancer while creating your environment, then you need to create a new environment and configure it.
Configuring Application Load Balancer: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-alb.html
Steps to be followed for adding multiple certificates, if you have configured Application Load Balancer while creating your Elastic Beanstalk Environment :
Step 1: Import/Upload all the certificates you require through “AWS Certificate Manager” service.
Step 2: Open your Load Balancer in the console.
Step 3: Go to the listeners tab, and select “view/edit certificates” .
Step 4: Now, use the “+” button in the top left corner and select the certificates you require. Then click the “Add” button.
That's it. In this way you can add multiple certificates to your application.
This can also done with the help of CLI using the following command:
aws elbv2 add-listener-certificates --listener-arn [listener-arn] --certificates CertificateArn=[cert-arn]
Hope this helps :)
You need to use an application load balancer instead of an elastic for your application. If you have an environment that already exists and you are not using an application load balancer then you need to create a new environment and while configuring the new environment specify the capacity as load balanced and select an application load balancer in the load balancer configuration. Once this is done then add a new listener for https. For now, select one certificate and launch your environment. Once your environment is launched, open the EC2 console and go to the loadbalancer in the sidebar. From there select your application loadbalancer, select your listener and click on view certificates. You can add multiple certificates, there.

How can I install SSL in cPanel?

I have a problem with my cPanel. I have SSL certificate, but I have done every thing to active SSL certificate but my server does not have (Install and Manage SSL for your site (HTTPS)) this option to active SSL. now, how can I activate my SSL certificate without it? I have attached a screenshot
Most probably if your server do not have option to Install and Manage SSL for your site(HTTPS) that simply means you can not install SSL from your hosting provider. This might be due to you are using free hosting, which do not allow to have this option. In order to use SSL you need to upgrade your hosting account to paid one.
But above all, even if you are on free hosting you can install SSL for free by using Cloudflare. You just need to update your current nameservers to cloudflare nameservers and enable SSL option. That's it. Here is a link to Cloudflare SSL.
Hope this helps.
Thanks!

Removing Rogue SSL Certs on AWS

I have a client site set up on AWS with multiple servers running HTPPS behind an Elastic Load Balancer. At some point, someone from the client's team attempted to update the SSL Cert by installing a new one directly on one of the servers (instead of in the ELB).
I was able to upload a new cert to the ELB, but when traffic is directed towards the server with the improperly installed cert, it triggers a security warning.
No one can seem to answer who attempted this install, how they went about, or where they installed it.
What's the best way to go about finding and removing it?
Thanks,
ty
If it's installed on the server, it has very little to do with AWS. I see you tagged the question with apache so I assume the server is running Apache Web Server. You will have to connect into that server and remove the SSL settings from the Apache Web Server configuration, just like you would with an Apache Web Server install anywhere else.

Install Wildcard SSL Certificate on AWS Elastic Beanstalk

I'm not the most advanced AWS user there is, and have come across a bit of a roadblock.
I've got 2 Elastic Beanstalk Environments, each with a Load Balancer, 2 EC2 instances and they share a RDS instance. One environment is for Development and the other for Production.
I have purchased a wildcard SSL certificate from Thawte, and would like to install it on both the Development and Production environments. I've gone through other threads about adding SSL certificates in AWS, but the admin interface has changed since they were written so I've been going round in circles trying to figure it out.
Also, do I install the same SSL certificate on both Load Balancers? Or is it a case of only having one load balancer and redirecting traffic depending on the domain?
Thanks
You will need two load balancers, one for each environment. For uploading the certificate, it sounds like you are creating your Beanstalk environment through the console. In that case, after you create the environment, go to the EC2 tab, then 'Load Balancers', then 'Listeners'. Edit that, change the protocol to https. You'll see there is a place to change the certificate:
That will give you a place to upload the certificate:
Now that the cert is there, you can use the Elastic Beanstalk configuration to change future environments to use that cert: