kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 2821eccdfa009ffcf2ede1c9f2aec1c85d69782d
parent fe7ca9779f3d1b44dbc9f114a7a03e8313edb7ab
Author: Joris Vink <joris@coders.se>
Date:   Mon, 30 Jun 2014 23:19:16 +0200

Move tools to contrib/tools

Diffstat:
contrib/tools/generate_certificates.sh | 19+++++++++++++++++++
tools/generate_certificates.sh | 19-------------------
2 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/contrib/tools/generate_certificates.sh b/contrib/tools/generate_certificates.sh @@ -0,0 +1,19 @@ +#!/bin/sh + + +CERTDIR=cert + +rm -rf ${CERTDIR} +mkdir -p ${CERTDIR} + +openssl genrsa -des3 -passout pass:pass 2048 > ${CERTDIR}/server.key +openssl req -passin pass:pass -new -key ${CERTDIR}/server.key -x509 -days 356 -out ${CERTDIR}/server.crt << EOF +IO +Kore +Kore +Kore +Kore +Kore +Kore +EOF +openssl rsa -in ${CERTDIR}/server.key -passin pass:pass -out ${CERTDIR}/server.key diff --git a/tools/generate_certificates.sh b/tools/generate_certificates.sh @@ -1,19 +0,0 @@ -#!/bin/sh - - -CERTDIR=cert - -rm -rf ${CERTDIR} -mkdir -p ${CERTDIR} - -openssl genrsa -des3 -passout pass:pass 2048 > ${CERTDIR}/server.key -openssl req -passin pass:pass -new -key ${CERTDIR}/server.key -x509 -days 356 -out ${CERTDIR}/server.crt << EOF -IO -Kore -Kore -Kore -Kore -Kore -Kore -EOF -openssl rsa -in ${CERTDIR}/server.key -passin pass:pass -out ${CERTDIR}/server.key