How to fix the error when creating an in-house openssl vkapi.crt?

https://vk.com/dev/certificat ( info was taken from there )

Make bot for the VC group, and of course we have to do .p12 file. Downloaded OpenSSL 32bit Launched, I entered the command " openssl req-newkey rsa:2048 -sha256 -nodes -keyout vkapi.key-x509 -days 365 -out vkapi.crt-subj "/C=RU/ST=Noscow/L=Moscow/O=VK API Club/CN=vkapi" "put here the error

Can't open C:\Program Files (x86)\Common Files\SSL/openssl.cnf for reading, No s
uch file or directory
6056:error:02001003:system library:fopen:No such process:crypto\bio\bss_file.c:7
2:fopen('C:\Program Files (x86)\Common Files\SSL/openssl.cnf','r')
6056:error:2006D080:BIO routines:BIO_new_file:no such file:crypto\bio\bss_file.c
:79:
Generating a RSA private key
............................+++++
......+++++
writing new private key to 'vkapi.key'
-----
unable to find 'distinguished_name' in config
problems making Certificate Request
6056:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or envi
ronment variable:crypto\conf\conf_lib.c:270:

The problem is that there was only vkapi.key and vkapi.crt is not present. What to do?
March 23rd 20 at 19:39
1 answer
March 23rd 20 at 19:41
error
6056:error:02001003:system library:fopen:No such process:crypto\bio\bss_file.c:7
2:fopen('C:\Program Files (x86)\Common Files\SSL/openssl.cnf','r')

tells us that you have no
C:\Program Files (x86)\Common Files\SSL/openssl.cnf

Find more questions by tags Digital certificatesVKontakteOpenSSLAPI