Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speckij/usermanager
Web Interface to manage Users in OpenLDAP
https://github.com/speckij/usermanager
Last synced: about 1 month ago
JSON representation
Web Interface to manage Users in OpenLDAP
- Host: GitHub
- URL: https://github.com/speckij/usermanager
- Owner: SpeckiJ
- License: mit
- Created: 2018-02-20T17:07:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T13:40:58.000Z (over 5 years ago)
- Last Synced: 2024-11-02T22:41:51.271Z (3 months ago)
- Language: Go
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Go Report Card](https://goreportcard.com/badge/github.com/fs-geofs/UserManager)](https://goreportcard.com/report/github.com/fs-geofs/UserManager)
# UserManager
Web Interface to manage Users in OpenLDAP.## Installation
```sh
# configure the application to the specific setup
cp config.conf.sample config.conf
vi config.conf# generate key pairs, if necessary
# RSA key for JWT auth
openssl genrsa -out keys/jwt.key 4096
openssl rsa -in keys/jwt.key -pubout -out keys/jwt.pub
# self signed TLS cert
openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout keys/tls.key -out keys/tls.crt
```## Run as service
### systemd
```sh
vi userManager.service #Change Installation Path
sudo cp userManager.service /etc/systemd/system/
sudo systemctl enable userManager
sudo systemctl start userManager
```## development
```sh
git clone [email protected]:fs-geofs/UserManager.git
cd UserManager
cp config.conf.sample config.conf
go get .
go run *.go
go fmt
```To run queries against the local API with a self signed TLS cert:
```
curl --cacert keys/tls.pub https://localhost:8443/api/login
```## license
see `LICENSE`