Pour mettre en place une authentification par certificat avec nginx comme reverse proxy.
Créer l'authorité de certification
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| #!/bin/sh | |
| # | |
| STARTDATE="$(date -d '2015-09-14 10:30:00-000' '+%a %e %b %R')" | |
| SUMMARY="Déjeuner avec M." | |
| ics=$(mktemp --suffix=.ics) | |
| cat > "${ics}" <<EOF | |
| BEGIN:VCALENDAR | |
| VERSION:2.0 | |
| PRODID:ownCloud Calendar | |
| CALSCALE:GREGORIAN |
| @VertxGen | |
| public interface Event { | |
| String getProjectId(); | |
| long getCreation(); | |
| } |
| for ind in $(seq ${users_nb}) | |
| do | |
| users_list=("${users_list[@]}" "${users[${ind}]}" "${users_comment[${ind}]}") | |
| done | |
| backtitle='backtitle' | |
| title='title' | |
| help_text='help text' | |
| dialog --clear --help-button --nocancel --colors --backtitle "${backtitle}" --title "${title}" --menu "${help_text}" 18 110 10 "${users_list[@]}" 2>"${INPUT}" |
| { | |
| "application": { | |
| "name": "Firefox", | |
| "osVersion": "Linux 4.5.0-0.bpo.2-amd64", | |
| "version": "49.0a1", | |
| "buildID": "20160605030215", | |
| "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0", | |
| "safeMode": false, | |
| "updateChannel": "nightly", | |
| "supportURL": "https://support.mozilla.org/1/firefox/49.0a1/Linux/fr/", |
| Paramètres de base de l'application | |
| Nom: Thunderbird | |
| Version: 45.2.0 | |
| Agent utilisateur: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 | |
| Répertoire de profil: Ouvrir le dossier correspondant | |
| (Lecteur local) |
| #!/bin/zsh | |
| IDEA_SCRIPT=$(print -l /opt/idea-IU-*/bin/idea.sh | sort | tail -n1) | |
| /usr/local/bin/reset-signal "${IDEA_SCRIPT}" &> /dev/null & |
| [user] | |
| name = Michel Barret | |
| email = [email protected] | |
| [push] | |
| default = simple | |
| [alias] | |
| st = status --short --branch | |
| co = checkout | |
| br = branch | |
| fetch = fetch --prune |
| import info.q37.atlas.*; | |
| class Hello extends Atlas { | |
| public void handle( DOM dom, String action, String id ) | |
| { | |
| String head = | |
| "<title>\"Hello, World !\" example</title>" + | |
| "<style type=\"text/css\">" + | |
| " html, body { height: 100%; padding: 0; margin: 0; }" + | |
| " .vcenter-out, .hcenter { display: table; height: 100%; margin: auto; }" + |