With the latest release of Nexpose and InsightVM (6.5.11) Rapid7 users now can authenticate against SAML 2.0 compliant solutions.
- Users can now use SAML 2.0 compliant solutions such as Okta to authenticate to the Security Console.
For more info and for the documentation you can visit
In this documentation we will show how you can setup a SAML 2.0 authentication with Nexpose/IVM using Okta Preview Sandbox environment.
- You need to visit https://developer.okta.com/ to create an instance for your demo environment. On that page click on “SIGN UP” button
- After that you need to fill in the information to create your Sandbox Instance.
- You will receive an email with your instance details that is created for you like below
- Click on Sign In below. When you click on it you will go to your instance URL.In our example our instance is dev-467312 and our instance URL is https://dev-467312.oktapreview.com/ . After changing your temporary password you will have this web interface.
- Click on your name above and then Click to “Assign Applications” as show below
- Then to “Add Application” on below
Click on “Create New App” as shown:
- On new window select Web Application and SAML 2.0
On new window there are 3 steps to fill in. Give application a name. Upload logo if you want
Second tab is “Configure SAML” for this we need to login to Nexpose/InsightVM console as admin user. Go to Administration Console Administer Security Console Configuration Authentication and click on “Authentication” Tab.
After clicking on “Confugure SAML Source” . Copy “Entity Id”
Then return to OKTA for step 3 and fill following. On above screenshot Paste it to “Audience URI (SP Entity ID) and for Single Sign On URL it is https://<CONSOLE_IP>:<PORT>/saml/SSO Console IP is Nexpose/IVM Console IP
- Then on following screen Click Finish
After clicking “Finish” you will see following screen. On This screen we need to copy IDP Metadata
- To get IDP Metadata click on “Developer Console” and choose “Classic UI”
Go to Applications and select our freshly created App
Click on “Sign On”
And “View Setup Instructions”
After that copy contents of “IDP Metadata” on new browser window:
And paste it on to your Nexpose “Configure SAML Authentication” page (Can be accessed by going Administration Console Administer Security Console Configuration Authentication and click on “Authentication” Tab. ) and click SAVE
Then save all authentication Configuration:
- Then on Nexpose/IVM console go to Administration Users Create and Choose SAML method for authentication method and fill in the email as we have selected email for auth method on OKTA. Assing a ROLE on next page and save. This email must match our email at OKTA users
It will be like
- As the last step we need to assign user to our newly created Rapid7 application on OKTA Developer Console. Go to Applications and Select RAPID7 app we created then Click “Assign to Users”
- Following screen will come. Select user and click on “Assign”
- Then verify the username as email on next section
- Finally verify on OKTA Developer Console that you assigned that user to your Application
- After that you can login to Nexpose/IVM going your instance OKTA with following URL: https://<<YOUR_INSTANCE>.oktapreview.com/app/UserHome in our case it will be https://dev-467312.oktapreview.com/app/UserHome
Click on your “RAPID7” Application and you can login to your Nexpose/IVM console without entering your username/password as seen above]]>