Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Log in Failed] Checking if reCaptcha is enabled in zm.. #141

Closed
ExMM opened this issue Jan 12, 2016 · 9 comments
Closed

[Log in Failed] Checking if reCaptcha is enabled in zm.. #141

ExMM opened this issue Jan 12, 2016 · 9 comments

Comments

@ExMM
Copy link

ExMM commented Jan 12, 2016

I have been trying to connect with zm externally, but I keep receiving this message.

After that, I also receive "zmAutologin error null".

I am using a self certificate with apache and I didn't set it up yet on zmninja, is that the cause?
Is it possible to connect without set up the SSL certificate everytime I reinstall zmninjia on my phone? Its a bit time consuming, I am using Android by the way.

Thank you for your hard work by the way.

@pliablepixels
Copy link
Member

Yup that is the issue. If you are using self signed certificates, you need to install that certificate in your phone. You also need to make sure the common name in the cert is the same as the url you are using.
https://github.com/pliablepixels/zmNinja/blob/master/docs/SSL-Configuration.md

@ExMM
Copy link
Author

ExMM commented Jan 12, 2016

That's what I call a quick reply! Thanks!

I have used another app that let me connect without set up any SSL certificate, is that possible on zmninja?

Just asking, I want to use zmninja anyway, since I have seen the demo.

@pliablepixels
Copy link
Member

Yes ExMM, it actually is possible. I'm seriously considering doing that given the number of people who have missed this step. However doing that means we disable SSL host checks which sorts of defeats the purpose to a good degree. This is how to do this http://ivancevich.me/articles/ignoring-invalid-ssl-certificates-on-cordova-android-ios/ -- I'm not sure its really a good idea

@ExMM
Copy link
Author

ExMM commented Jan 12, 2016

I had the same concern about security, I am agree with you on that, thus sometimes many people need apps that setup themselves right out the box.

Will follow your guide to set-up ZmNinja with SSL correctly for now, I am curious to see what this app will bring in the future, again thanks for your quick support.

@ExMM
Copy link
Author

ExMM commented Jan 12, 2016

I have setup twice the certificate but I keep getting the same message, definitely I am doing something wrong.

The common name of the certificate has to be basically my website?

ex. mywebsite.xxx.com

Or, I have to add the full path to zoneminder within my URL?

ex. mywebsite.xxx.com/zm

@pliablepixels
Copy link
Member

mywebsite.xx.com

@ExMM
Copy link
Author

ExMM commented Jan 12, 2016

Thanks, got it working finally!

@pliablepixels
Copy link
Member

awesome - would you like to close this issue?

@ExMM
Copy link
Author

ExMM commented Jan 12, 2016

I have a problem with the API setting now, but from what I have read I need basically to setup API correctly on Zoneminder, its not an app problem.

But yes please, close the issue.

Thanks again.

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

No branches or pull requests

2 participants