This server's certificate chain is incomplete. Grade capped to B. openshift

First of all thanks for your great work on trying to make Internet more secure place. I am hosting my app on openshift, so I generated certificates manually:

./letsencrypt-auto -a manual -d --server --agree-dev-preview

I uploaded those certificates to openshift (I tried chan1.pem as well as fullchain1.pem), but I get B rating and Chain incomplete message.

What am I doing wrong? I used Easy mode when generating certificates. I wrote an article how to implement letsencrypt on openshift with django in Slovak.

My guess is that since you’re providing the cert separately here, it’s expecting a chain that does not include said cert, which fullchain.pem does; try using chain1.pem instead of fullchain1.pem. [Disclaimer: I have no idea what openshift is, this is just a stab based on the set of fields I see here…]

If that doesn’t work, try supplying fullchain1.pem for your “SSL Certificate”, and leave the chain blank.

Hi, it is even possible to fix the chain without requesting an new certificate.
At least in java this is easy to be done. Did you check the content of the two files (cha1+fullchain1) ?

I checked chain1 and fullchain1, they look ok.

As you mentioned, I tried SSL Certificate as fullchain1.pem, chain left blank and used private key as in image from original question. It works and I have grade A now, thanks!

I recommend using the fullchain.pem from the live directory instead of fullchain1.pem from the archive directory. In the future when people are using the automated renewal tools, using fullchain.pem will guarantee that your certificate is automatically updated to the new version whenever you renew. Using fullchain1.pem from archive means that you’ll be stuck on that particular version and will have to manually change your configuration after each certificate renewal.

Thanks for info. On openshift I have to upload certs manually at the moment, so it does not matter. Files in live are symlinked to archive, so I used archive files for upload :slight_smile: I do not have root permission on openshift.

wait a sec you specified the fullchain which contains the cert and the intermediate, try using the chain as intermediate.

I dont understand My1. I used what Kromey suggested and now my domain has A grade:

1 Like

werll using the fullchain and no intermediate is also a way of doing it.
essentially the same,. you can wither use only the fullchain or cert + chain depending on what the server supports.

I tried using cert1.pem as “SSL Certificate”, chain1.pem as “SSL Certificate Chain” and privkey1.pem as “Certificate private key” but chain incomplete message was still present.

okay now I am really confused…

I might try it again in case I made mistake. If you want to check it.

when you have time, you can try I wont push it, but it is weird since fullchaun is essentially just cert+chain it should also be visible in the file contents

unless your server or CP misbehaves technically it should work.

So I uploaded all three files as mentioned above. Now I get B rating. Like I said, chain1.pem and fullchain1.pem looks ok - both have




(fullchain has two certificates)

Yes, chain.pem contains your intermediate, fullchain.pem contains your cert.pem and the chain.pem concatenated.

then it is weird cert.pem + chain.pem does not work while fullchain.pem does. I’ll notify openshift, may be they can help.

Did you figure out what the problem was? I had to upload the fullchain.pem for the certificate and privkey.pem for the private key and that fixed it. I did not upload anything for the chain.

no, nothing new in bug report.

Try uploading the fullchain instead of the certificate and leave the chain field empty.