Zhorzh Alexandr
Zhorzh Alexandr

Reputation: 1469

How to use Letsencrypt certificate for GKE Ingress?

I have just recieve SSL certificate from Letsencrypt and I want to use it with GKE Ingress. I was using self-signed certificate before and I am a bit confused about file names of my certificates. Here is what i have in /etc/letsencrypt/live/DOMAIN_NAME folder (description from the README):


And here is what i had before, the keys was created with openssl command below:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./ssl.key -out ./ssl.crt
openssl dhparam -out ./ssl.pem 2048

My question is - which files from the letsencrypt folder should I use?

Upvotes: 0

Views: 322

Answers (1)

Zhorzh Alexandr
Zhorzh Alexandr

Reputation: 1469

Trial and error method and a little bit of wikipedia show me that:

  • ssl.crt is the same as cert.pem
  • ssl.key is the same as privkey.pem
  • ssl.pem is DH Params, crypto-something that can be used without changes

Upvotes: 1

Related Questions