Support #725
Install MITREid on FreeBSD
Description
This is a guide on installing the open source OpenID Connnect provider, MITREid on FreeBSD 9.
Prepare the Environment¶
- Make sure the system is up to date:
pkg update && pkg upgrade
- Install a few dependencies:
pkg install git openjdk maven33
- Create a mitreid user
pw add user -n mitreid -m -s /bin/sh -c "MITREid"
Install MITREid¶
- Switch to the mitreid user:
su - mitreid
- Download MITREid from GitHub
git clone https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server.git cd OpenID-Connect-Java-Spring-Server
- Build mitreid:
mvn package
- Install the application to your local Maven repository by running this from the parent project directory:
mvn clean install
- Run the embedded Jetty server and deploy the server webapp:
cd openid-connect-server-webapp mvn jetty:run
NOTE: MITREid does not save data by default, so any new data will be lost when the server shuts down.
- Open a web browser and go to http://mitreid.example.com:8080/openid-connect-server-webapp