11# OS2Forms Fasit
22
3- Adds [ Fasit Schultz] ( https://schultz.dk/loesninger/schultz-fasit/ )
4- handler for archiving purposes.
3+ Adds [ Fasit Schultz] ( https://schultz.dk/loesninger/schultz-fasit/ ) handler for archiving purposes.
54
65For usage in danish, see [ BENYTTELSE] ( docs/BENYTTELSE.md ) .
76
87## Installation
98
10- ``` sh
9+ ``` shell
1110drush pm:enable os2forms_fasit
1211```
1312
1413## Settings
1514
16- Configure Fasit API ` base url ` and a way of getting
17- certificate on ` /admin/os2forms_fasit/settings ` .
15+ Go to ` /admin/os2forms_fasit/settings ` and configure the module.
1816
1917### Certificate
2018
21- The certificate must be in ` pem ` or ` cer ` format and
22- must be whitelisted by Fasit Schultz.
23- For this the certificate thumbprint,
24- in lowercase and without colons, is needed.
19+ The certificate must be in ` pem ` or ` cer ` format and must be whitelisted by Fasit Schultz. For this the certificate
20+ thumbprint, in lowercase and without colons, is needed.
2521To get the thumbprint in the correct format from the command line run
2622
27- ``` sh
23+ ``` shell
2824openssl x509 -in SOME_CERTIFICATE.pem -noout -fingerprint | cut -d= -f2 | sed ' s/://g' | tr ' [:upper:]' ' [:lower:]'
2925```
3026
31- Example output
27+ Example output:
3228
33- ``` sh
29+ ``` shell
34306acb261f393172d87fa3997cec86569759a8528a
3531```
3632
@@ -42,13 +38,13 @@ called `fasit_queue`.
4238
4339The queue should be processed with ` drush ` :
4440
45- ``` sh
41+ ``` shell
4642drush advancedqueue:queue:process fasit_queue
4743```
4844
4945List the queue (and all other queues) with
5046
51- ``` sh
47+ ``` shell
5248drush advancedqueue:queue:list
5349```
5450
0 commit comments