Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Issues with self signed Certificates in Dev Environments #9

Open
pdimitri opened this issue Oct 1, 2015 · 5 comments
Open

Issues with self signed Certificates in Dev Environments #9

pdimitri opened this issue Oct 1, 2015 · 5 comments

Comments

@pdimitri
Copy link

pdimitri commented Oct 1, 2015

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
Copy link
Owner

Hi,

Are you using an old version/config files?

Take a look at this issue, does this help? #7

@pdimitri
Copy link
Author

pdimitri commented Oct 2, 2015

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
Copy link
Owner

Am I understanding you correctly if I say that:

  • On your stage environment, where you previously got DEPTH_ZERO_SELF_SIGNED_CERT, you're now - after updating the tool itself and updating your config files - getting java.lang.IllegalStateException
  • On your production environment you're getting Unable to check CSRF token

Correct?

Will you be joining DevCon this year?

@pdimitri
Copy link
Author

pdimitri commented Oct 2, 2015

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:[email protected]]
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:

  • On your stage environment, where you previously got
    DEPTH_ZERO_SELF_SIGNED_CERT, you're now - after updating the tool itself
    and updating your config files - getting java.lang.IllegalStateException
  • On your production environment you're getting Unable to check CSRF
    token

Correct?

Will you be joining DevCon this year?


Reply to this email directly or view it on GitHub
#9 (comment)
.

@emiloberg
Copy link
Owner

Cool!

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants