37 lines
973 B
Makefile
37 lines
973 B
Makefile
########################################################################
|
|
#
|
|
# Copyrights (c) 2008..2010 by
|
|
# Core|Vision B.V.
|
|
# Hambakenwetering 1
|
|
# 5231 DD 's-Hertogenbosch
|
|
# The Netherlands
|
|
#
|
|
# All Rights Reserved
|
|
#
|
|
########################################################################
|
|
#
|
|
# Project Name: Dual Inventive: MTinfo, MTinfo Secure
|
|
# Filename: Makefile for the security certificates for the
|
|
# Secure Server
|
|
# Author: Jack Weeland
|
|
# Date: July 9, 2008
|
|
#
|
|
########################################################################
|
|
|
|
PLATFORM = $(shell uname -m)
|
|
|
|
CERTDIR = .
|
|
CERTREQ = $(CERTDIR)/public/di-tcpserver.csr
|
|
OPENSSL_CNF = $(CERTDIR)/private/di-tcpserver.cnf
|
|
|
|
# for installation, install as this user
|
|
#USER = bin
|
|
#GROUP = bin
|
|
USER = dualinventive
|
|
GROUP = customer
|
|
|
|
cert: $(CERTREQ)
|
|
|
|
$(CERTREQ): $(OPENSSL_CNF)
|
|
openssl req -config $(OPENSSL_CNF) -newkey rsa:2048 -passin file:$(CERTDIR)/private/passphrase -out $(CERTREQ) -outform PEM
|