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

Cookbook will always fail when using a real SSL cert? #92

Open
fletchowns opened this issue Sep 25, 2014 · 6 comments
Open

Cookbook will always fail when using a real SSL cert? #92

fletchowns opened this issue Sep 25, 2014 · 6 comments

Comments

@fletchowns
Copy link

It's failing for me when using a real cert with ssl verify enabled. I think the hard coded https://localhost might be the culprit. Shouldn't it use the value of the server_name attribute?

Here's the error I encountered:

nexus_user[admin] action change_password[2014-09-24T23:19:51-04:00] FATAL: Could not connect to Nexus. Please ensure Nexus is running.

@karianna
Copy link

Was this for an nginx hosted cert or for nexus pro?

@fletchowns
Copy link
Author

This was for an nginx hosted cert

@karianna
Copy link

Hmm, not quite the same error we were getting actually now that I look at your error message. In the latest cookbook the url is 127.0.0.1 (localhost) is your nginx also on the same server as the nexus?

@fletchowns
Copy link
Author

Yes nginx is on the same server as nexus in my setup

@karianna
Copy link

So the localhost lookup should work regardless then? We do override with a fqdn if that helps.

@fletchowns
Copy link
Author

https://localhost will fail when my cert is for *.mycompany.com, I'm not using the self signed localhost cert that comes with this nexus cookbook

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