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

Don't delete SSL key/cert on a msfdb reinit if a user asked not to delete existing configs #11525

merged 1 commit into from Mar 5, 2019


None yet
2 participants
Copy link

ebleiweiss-r7 commented Mar 5, 2019

Fixes #11490


  • With a remote data service already established...
  • ./msfdb reinit
  • Say no to Would you like to delete your existing data and configurations?
  • Verify you see the output MSF web service appears to be started, but may not operate as expected
  • ./msfconsole
  • db_disconnect local-https-data-service
  • db_connect --token <existing token> --cert ~/.msf4/msf-ws-cert.pem --skip-verify https://localhost:5443
  • Verify that you can interact with the remote data service from msfconsole

@mkienow-r7 mkienow-r7 self-assigned this Mar 5, 2019

@mkienow-r7 mkienow-r7 merged commit cff6231 into rapid7:master Mar 5, 2019

3 checks passed

Metasploit Automation - Sanity Test Execution Successfully completed all tests.
Metasploit Automation - Test Execution Successfully completed all tests.
continuous-integration/travis-ci/pr The Travis CI build passed

mkienow-r7 added a commit that referenced this pull request Mar 5, 2019


This comment has been minimized.

Copy link

mkienow-r7 commented Mar 5, 2019

Release Notes

Fixes an issue with the msfdb reinit command in which the web service SSL key and cert .pem files were deleted regardless of the user answering no to delete existing data and configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.