How to change the Crowd URL and domain and keep SSO working?

I am trying to change the URL (and IP) of my local, standalone Crowd instance, but it will not accept my new domain.

I changed the URLs in crowd.properties; changed the allowed remote addresses of registered applications; and changed the Crowd URL for the user directories in the remote applications (in this case, Confluence).

The changes did not go smoothly (e.g. I had to tweak the domain attribute directly in the database), but eventually, I got everything working except SSO.

Now, I keep getting this error (from the crowd logs):

Invalid SSO Domain value: '.newdomainname.com' found in settings. Domain currently in use is: 'oldhostanme.olddomainname.com'.

I have searched the entire installation and home folders for the "oldhostname" and I cannot find it. I have also searched the cwd_property table in the database.

Any suggestions?

Addendum:

I'm running Apache but not using Virtual Hosts.

1 answer

This widget could not be displayed.

SSO is working now, but I still get the error message about the SSO domain value.

The problem with the SSO was that the Authenticator class in Confluence was not the SSO authenticator class (missed this during an upgrade).

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 4 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

31 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you