E
E
EVOSandru62015-04-06 07:44:58
PHP
EVOSandru6, 2015-04-06 07:44:58

How to connect openSSl library to php?

Good afternoon,
I immediately apologize if I do not quite correctly state the question.
There was a need to work with EDS (electronic digital signature), in particular with .p12 extension files , I
found a lot of information on openSsl , but most of this is cmd commands, which is not very suitable for me.
I was looking for an application using php
I found here newblog.kz/posts/view/91 information on reading the key Removed the
ban on extension=php_openssl.dll in php.ini and downloaded this dll -ku
Connected .p12file as in the example from the above link, but the openssl_pkey_get_details
command did not work for me Due to a lack of understanding of the subsequent steps, I downloaded the library from the official website www.openssl.org/source
But there is not a separate dll , but a huge library with a bunch of files and folders and I don’t know how connect it to php.ini (is there a need for this?!)
For the task (read and send EDS ), php and java are considered , while in php I almost did not see implementation examples.
Has anyone come across the implementation of working with EDS in php ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-04-06
@EVOSandru6

Removed the ban on extension=php_openssl.dll in php.ini and downloaded this dll - ku

You don't need to download anything. It comes with PHP.

A
Andrey Mokhov, 2015-04-06
@mokhovcom

Removed the ban on extension=php_openssl.dll in php.ini and downloaded this dll - ku

where did you download it from?
apparently you have Windows, this library should be included in your installed PHP, if this library is missing, then you need to download the library corresponding to your version of PHP (I believe that you downloaded the library for another version of php / compiler)

D
Dmitry Entelis, 2015-04-06
@DmitriyEntelis

php.net/manual/ru/openssl.installation.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question