MISP Handbook
繁中

First Login and Deployment Checks

Check the login page, administrator session, API Auth key, and background workers before creating your first event.

About 3 minLab MISP 2.5.53
In this chapter
After this chapter, you can

Verify a browser login, an authenticated API request, and the background workers.

A login page is the first checkpoint

Once all five containers are healthy, confirm that the site serves a login page, the administrator can create a session, the API accepts an Auth key, and background workers are running. The checks exercise separate parts of the stack.

Sign in through the browser

  1. Open the local lab

    Browse to http://localhost:18081. Before sign-in, the application redirects to /users/login.

  2. Read your local credentials

    In a local editor, open lab/.env and find ADMIN_EMAIL and ADMIN_PASSWORD. Keep these out of terminal recordings and screenshots.

  3. Confirm the identity after signing in

    Check that you are signed in as the expected user in SecTools Lab. Use the credentials generated for your own lab.

The lab sets DISABLE_PRINTING_PLAINTEXT_CREDENTIALS=true to suppress generated credentials in the container logs.

Reproduce the login and API checks

http-check.py reads the local environment and connects to the loopback-bound lab. Run it from the lab directory.

Host terminal
python3 http-check.py
Recorded HTTP, session, and API output
PASS homepage: HTTP 200, unauthenticated visitor redirected to /users/login
PASS administrator password login: accepted with CSRF token; session value hidden
PASS authenticated cookie session: admin / SecTools Lab
PASS API auth key: MISP 2.5.53; perm_sync=True

The script checks the redirect and CSRF-protected password login. It reads back the authenticated role and organization, then tests the separate Auth key against /servers/getVersion.

Inspect server diagnostics

Open Administration → Server Settings & Maintenance. In Overview, review the flagged settings. In Diagnostics, inspect paths, permissions, database status, and dependencies. In Workers, confirm that the processes for the expected queues are active.

A local lab may have mail or HTTPS settings left unused. Resolve warnings according to the deployment’s purpose. Remove private paths, endpoints, and credentials before sharing diagnostic output.

Verify workers and module connectivity

From the lab directory
python3 modules-check.py
Recorded workers, modules, and Warninglist output
PASS background workers alive: cache=5, default=5, email=5, prio=5, scheduler=1, update=1
PASS misp-modules reachable from misp-core: 1 enabled module(s) listed
PASS enrichment module round trip: valid rule accepted, broken rule rejected
PASS warninglists: 232 shipped, 0 enabled before this run; after enabling RFC 5735 + RFC 6761, both training values are flagged as reserved

The first line reports live workers by queue. This lab script also enables two module settings and two Warninglists. If a required queue has zero workers, compare the Diagnostics view with Supervisor messages in the core logs.

Deployment acceptance checklist

  • All five services are healthy and nginx binds to localhost.
  • Password login works and the session resolves to the expected organization.
  • The Auth key returns MISP 2.5.53 from the recorded lab configuration.
  • Required queues have live workers.

Continue to the data model · MISP OpenAPI · MISP administration guide

Search the handbook