Update readme.md

This commit is contained in:
BitMaster Admin
2023-12-11 05:59:16 +00:00
parent 3ebb3cc429
commit 03231fc154

View File

@@ -1,6 +1,6 @@
# How to make your Astra Cesbo license server
1. Install the required packages
<h3 align="left">1. Install the required packages</h3>
```shell script
apt install opensc-pkcs11 libpam-pkcs11 openssl opensc make build-essential libpkcs11-helper1 libpkcs11-helper1-dev libengine-gost-openssl1.1 -y
@@ -30,7 +30,7 @@ make
make install
```
2. We set up our config files according to what we will use and what we need
<h3 align="left">2. We set up our config files according to what we will use and what we need</h3>
```shell script
vi /etc/softhsm/softhsm.conf
@@ -40,7 +40,7 @@ vi /etc/opensc/opensc.conf
vi /etc/opensc/opensc-pkcs11.conf
```
3. We generate a certificate and create a virtual slot and add a token
<h3 align="left">3. We generate a certificate and create a virtual slot and add a token</h3>
```shell script
openssl req -new -x509 -subj "/CN=MyCertTEST" -engine pkcs11 -keyform engine -key "pkcs11object=mykey1;pin-value=mysecret1" -outform der -out mycert.der
@@ -71,7 +71,7 @@ pin min/max : 4/255
Slot 1 (0x1): SoftHSM slot ID 0x1
```
4. The script that will check the licenses
<h3 align="left">4. The script that will check the licenses</h3>
```
<?php