Answer the question
In order to leave comments, you need to log in
How to fix an error when creating a self-written openssl vkapi.crt?
https://vk.com/dev/certificat (I took the info from there)
I am making a bot for the VK group, and of course I need to make a .p12 file. Downloaded OpenSSL 32bit Launched, 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" "introduced an 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
The problem is that only vkapi.key was created and there is no vkapi.crt. What to do?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question