81 lines
1.2 KiB
Markdown
81 lines
1.2 KiB
Markdown

|
|
|
|
# Template
|
|
|
|
dépôt Template
|
|
|
|
# Installation
|
|
|
|
Pour utiliser Adminer tout seul
|
|
```bash
|
|
docker compose up -d
|
|
```
|
|
|
|
Pour utiliser Adminer avec Traefik
|
|
```bash
|
|
docker compose -f docker-compose-traefik.yml up -d
|
|
```
|
|
|
|
Pour utiliser Adminer avec Nginx
|
|
```bash
|
|
docker compose -f docker-compose-nginx.yml up -d
|
|
```
|
|
|
|
# Utilisation
|
|
|
|
## Certificat Autority
|
|
cd CA
|
|
|
|
openssl genpkey -algorithm RSA -out ca.key -aes256
|
|
|
|
pass phrase
|
|
|
|
pass phrase
|
|
|
|
ls
|
|
|
|
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
|
|
|
|
pass phrase
|
|
|
|
FR
|
|
Nord
|
|
Roubaix
|
|
Tips-Of-Mine
|
|
Tips-Of-Mine IT
|
|
Tips-Of-Mine Certificate Authority
|
|
admin@tips-of-mine.fr
|
|
|
|
ls
|
|
|
|
Extraction Winscp
|
|
|
|
## Windows
|
|
|
|
mmc
|
|
|
|
Ajoute certificats > Ordinateur
|
|
|
|
Autorités de certification racines de confiance > Certificats
|
|
|
|
Importer ca.crt
|
|
|
|
## Script installation
|
|
|
|
install.sh
|
|
|
|
## Script : certify.sh
|
|
|
|
Depuis la serveur distant lancer
|
|
|
|
certify.sh
|
|
|
|
## Service
|
|
|
|
nohup sh watch-csr.sh &
|
|
|
|
# More info
|
|
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
|
|
|
|
# Buy me a coffe
|
|
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> |