emiloberg / liferay-ddmtool

Tool for authoring, uploading, downloading and synchronizing Liferay DDM related stuff (Structures and Templates) across environments.
MIT License
36 stars 16 forks source link

Issues with self signed Certificates in Dev Environments #9

Open pdimitri opened 8 years ago

pdimitri commented 8 years ago

I'm unable to use your great Tool in our Project Setup, because all our Servers use SSL Certficates. On our Dev Servers with self signed Certificates I see this Error Message:

Getting data from server Downloading id's

Error Unknown error: {"code":"DEPTH_ZERO_SELF_SIGNED_CERT"}

On the Prod Server, which uses an official signed Cetificate I see this one:

Getting data from server Downloading id's

Error Unable to check CSRF token

Any Ideas on how we could use the Tool with secured Connections?

emiloberg commented 8 years ago

Hi,

Are you using an old version/config files?

Take a look at this issue, does this help? https://github.com/emiloberg/liferay-ddmtool/issues/7

pdimitri commented 8 years ago

You're right. I was using an older version, since I'm using your great tool until you presented it in DevCon last year. Unfortunately it still won't work in my current environment. Setting the "allowSelfSignedCerts" parameter removed the "DEPTH_ZERO_SELF_SIGNED_CERT" but now I get an "java.lang.IllegalStateException". On the production server (with the officially signed certificate) there's still the "Unable to check CSRF token" Error.

Sorry for bothering you, but I'd really like to use your tool again in my current project as we massively use ddm stuff in that project.

emiloberg commented 8 years ago

Am I understanding you correctly if I say that:

Correct?

Will you be joining DevCon this year?

pdimitri commented 8 years ago

Correct!

BTW: When I install you Tool using “npm install –g “ there are lots of missing modules which I had to install manually to make it work, like minimist, q, cli, cli-color, node-print, fs-extra and may others.

Maybe we’ll find a view minutes next week in Darmstadt, then I may show you my setup. I’ll have my Laptop with me at our stand on LPSF and DevCon.

Kind regards

Peter

Von: Emil Öberg [mailto:notifications@github.com] Gesendet: Freitag, 2. Oktober 2015 10:01 An: emiloberg/liferay-ddmtool Cc: pdimitri Betreff: Re: [liferay-ddmtool] Issues with self signed Certificates in Dev Environments (#9)

Am I understanding you correctly if I say that:

Correct?

Will you be joining DevCon this year?

— Reply to this email directly or view it on GitHub https://github.com/emiloberg/liferay-ddmtool/issues/9#issuecomment-144950286 .

emiloberg commented 8 years ago

Cool!

Let's solve this as DevCon! Grab a hold of me if I don't get to you first!