crypto-pro-php/doc/GET-TEST-CERT.md
2022-11-10 12:34:08 +03:00

13 lines
703 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Получение тестового сертификата
> Это черновик!
Вся команда выглядит вот так:
```shell
/opt/cprocsp/bin/amd64/cryptcp \
-creatrqst \
-rdn "CN=Название сертификата, E=info@site.domain, OID.1.2.643.100.4=000000000000, OID.1.2.643.100.1=00000000000000, OID.1.2.643.3.131.1.1=000000000000, OID.1.2.643.100.3=00000000000, O=\"ООО \"МОЯ КОМПАНИЯ\"\", T=Моя должность, SN=Фамиля, G=Имя Отчество, C=RU, L=Г. МОСКВА" \
-certusage "1.3.6.1.5.5.7.3.4,1.3.6.1.5.5.7.3.2,1.2.643.2.2.34.6" \
-ku -cont '\\.\HDIMAGE\ContainerName' \
-provtype 80 ./main.req
```