Skip to content

Instantly share code, notes, and snippets.

@michael-bouvy
michael-bouvy / self-signed-certificate-with-custom-ca.md
Created September 6, 2018 13:48 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096

Keybase proof

I hereby claim:

  • I am michael-bouvy on github.
  • I am michaelbouvy (https://keybase.io/michaelbouvy) on keybase.
  • I have a public key ASCNoi721mxNz0aVi9neZ_ohrGc-bxiaqEFI67yy0Gwt0go

To claim this, I am signing this object:

#!/bin/bash
mkdir -p /var/www/rbschange/repository/framework
cd /var/www/rbschange/repository/framework
git clone https://github.com/RBSChange/framework framework-x.y.z
cd ../..
ln -s repository/framework/framework-x.y.z framework
echo "default" > profile
vi change.xml # put appropriate content
vi change.properties # put appropriate content
@michael-bouvy
michael-bouvy / sf2_form.php
Created April 24, 2012 11:45 — forked from nclavaud/sf2_form.php
Symfony2 standalone Form component example
<?php
/**
* @author Nicolas Clavaud <[email protected]>
* http://n.clavaud.free.fr/blog/index.php?article31/symfony2-standalone-form-component-tutorial
*/
namespace Me\MyApp;
use Symfony\Component\ClassLoader\UniversalClassLoader;