cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Warp Cloudflare Cert installation - documentation issue

Open neilsmith opened this issue 5 years ago • 3 comments

On this page:

https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/install-cloudflare-cert#base-operating-system

it's recommended that you run this line to install the Cloudflare certificate in your terminal:

sudo cat Cloudflare_CA.crt >> /usr/local/etc/openssl/cert.pem

However, I believe the .crt file that's been downloaded is in the binary DER format, and this line would cause a problem concatenating that to a text-based PEM file?

I had success using openssl to convert it first:

sudo openssl x509 -inform der -in Cloudflare_CA.crt >> /usr/local/etc/openssl/cert.pem


(Although, as a slight aside, using Homebrew on my Mac, the correct cert file for me is /usr/local/etc/[email protected]/cert.pem - revealed with brew info openssl - but of course I realise it would be hard to get that path correct for all users.)

neilsmith avatar Apr 06 '21 09:04 neilsmith

@abracchi-tw - here is a recommendation for Cloudflare One.

KimJ15 avatar Apr 07 '21 18:04 KimJ15

hi @neilsmith, we're looking into this. Thanks for bringing it up!

abracchi-tw avatar Apr 16 '21 12:04 abracchi-tw

Hey @neilsmith I've verified on my machine this step is not actually required as part of the process. We think it accidently was added as part of an early internal dogfood but it can be safely skipped. I am working to verify on one more machine and the if so will remove the step.

Thanks for bringing this to our attention

kkrum avatar Apr 16 '21 20:04 kkrum