#47477 Admin server refuses to restart from console when SSL and password file are configured
Closed: wontfix None Opened 9 years ago by nkinder.

When admin server is configured with SSL certificate, it requires a password to
decrypt NSS db upon restart. When restarting from command line, user is asked
for a password. To restart server without password, a password file can be
created, which should allow remote restart. However, even when password file is
configured, admin server refuses to restart remotely from console.

Steps to Reproduce:
1. Configure SSL for admin server
2. Create a password file to allow restart without password prompt
3. Try to restart admin server from command line - restarts without asking a
4. Try to restart admin server from console - error message is returned:

The Administration Server cannot be restarted remotely from the Console. The
server can be restarted only locally from the command shell by running the
"restart-admin" command.

Expected results:
Admin server should restart.

Additional info:
This works for directory server - even with SSL configured, it can be restarted
remotely with password file configured. Also, error message refers to
"restart-admin", which is now "restart-ds-admin".

$ git merge ticket47477
Updating 9ef26b8..ac0e0b5
src/com/netscape/management/admserv/admserv.properties | 2 ++
src/com/netscape/management/admserv/task/Restart.java | 11 +++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
$ git push origin master
Counting objects: 19, done.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (10/10), 1.27 KiB | 0 bytes/s, done.
Total 10 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/admin-console.git
9ef26b8..ac0e0b5 master -> master

Metadata Update from @lkrispen:
- Issue assigned to lkrispen
- Issue set to the milestone: 389-admin,console 1.1.36

5 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/814

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

2 years ago

Login to comment on this ticket.