Skip to content

Instantly share code, notes, and snippets.

ivanchuryumov / genclient
Created December 14, 2016 06:11 — forked from wsargent/genclient
Create a working(!) client certificate for use with nginx, using only keytool
export PW=`pwgen -Bs 10 1`
echo "$PW" > password
# Create a self signed certificate & private key to create a root certificate authority.
keytool -genkeypair -v \
-alias clientCA \
-keystore client.jks \
function ParsePath($node)
$action = 'default';
$node = str_replace('//', '%2F', $node); // спасибо апачу (при использовании %2F в урле выдает 404)
$t = explode('/', $node);
Source is here:
But I made some changes.
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormFactory;
use Symfony\Component\Form\Extension\Core\CoreExtension;