You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(164) |
Nov
(133) |
Dec
(307) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(202) |
Feb
(385) |
Mar
(235) |
Apr
(295) |
May
(258) |
Jun
(293) |
Jul
(199) |
Aug
(404) |
Sep
(439) |
Oct
(417) |
Nov
(360) |
Dec
(146) |
| 2003 |
Jan
(51) |
Feb
(47) |
Mar
(299) |
Apr
(257) |
May
(282) |
Jun
(294) |
Jul
(298) |
Aug
(284) |
Sep
(80) |
Oct
(34) |
Nov
(70) |
Dec
(73) |
| 2004 |
Jan
(227) |
Feb
(239) |
Mar
(206) |
Apr
(108) |
May
(162) |
Jun
(195) |
Jul
(187) |
Aug
(212) |
Sep
(241) |
Oct
(320) |
Nov
(161) |
Dec
(46) |
| 2005 |
Jan
(55) |
Feb
(129) |
Mar
(104) |
Apr
(111) |
May
(14) |
Jun
(211) |
Jul
(330) |
Aug
(314) |
Sep
(20) |
Oct
(90) |
Nov
(12) |
Dec
(39) |
| 2006 |
Jan
(18) |
Feb
(4) |
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
(16) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ope...@li...> - 2001-10-15 11:34:14
|
Update of /cvsroot/openca/openca-dbi
In directory usw-pr-cvs1:/tmp/cvs-serv12183
Modified Files:
DBI.pm
Log Message:
adding a fix from Bob Olson
Index: DBI.pm
===================================================================
RCS file: /cvsroot/openca/openca-dbi/DBI.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** DBI.pm 2001/09/12 22:46:04 1.14
--- DBI.pm 2001/10/15 11:34:11 1.15
***************
*** 1851,1855 ****
$OpenCA::DBI::SQL->{VARIABLE}->{LOG_SUBMIT_DATE}[0]."=?, ".
# set by sync module $OpenCA::DBI::SQL->{VARIABLE}->{LOG_DO_DATE}[0].", ".
! $OpenCA::DBI::SQL->{VARIABLE}->{KEY}[0]."=?, ".
$OpenCA::DBI::SQL->{VARIABLE}->{FORMAT}[0]."=?, ".
$OpenCA::DBI::SQL->{VARIABLE}->{DATA}[0]."=?, ".
--- 1851,1856 ----
$OpenCA::DBI::SQL->{VARIABLE}->{LOG_SUBMIT_DATE}[0]."=?, ".
# set by sync module $OpenCA::DBI::SQL->{VARIABLE}->{LOG_DO_DATE}[0].", ".
! # KEY is included via the searchable args
! # $OpenCA::DBI::SQL->{VARIABLE}->{KEY}[0]."=?, ".
$OpenCA::DBI::SQL->{VARIABLE}->{FORMAT}[0]."=?, ".
$OpenCA::DBI::SQL->{VARIABLE}->{DATA}[0]."=?, ".
|
|
From: <ope...@li...> - 2001-10-15 11:06:09
|
Update of /cvsroot/openca/openca-0.9/src/modules/openca-openssl
In directory usw-pr-cvs1:/tmp/cvs-serv4376
Modified Files:
Makefile.PL
Log Message:
correcting a missing "'"
Index: Makefile.PL
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/modules/openca-openssl/Makefile.PL,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile.PL 2001/09/24 11:44:52 1.2
--- Makefile.PL 2001/10/15 11:06:05 1.3
***************
*** 5,8 ****
'NAME' => 'OpenCA::OpenSSL',
'VERSION_FROM' => 'OpenSSL.pm', # finds $VERSION
! 'MAN3PODS => 'OpenSSL.pod'
);
--- 5,8 ----
'NAME' => 'OpenCA::OpenSSL',
'VERSION_FROM' => 'OpenSSL.pm', # finds $VERSION
! 'MAN3PODS' => 'OpenSSL.pod'
);
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac/scripts
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/scripts/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,56 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 664
!
! RA_DIR=${ra_prefix}/conf/rbac/scripts
! CA_DIR=${ca_prefix}/conf/rbac/scripts
!
! SUBDIRS=""
! FILES="*.conf"
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
! clean:
! @for i in "$(FILES)" ; \
! do \
! $(RM) -f $$i ; \
! done
! @$(RM) -f Makefile
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 775 $(CA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(CA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) $$i "$(CA_DIR)/$$i" ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! # end
--- 6,70 ----
include $(TOP)/Makefile.global-vars
! DEST_CA_CONFRBACSCRIPTSDIR = ${ca_prefix}/conf/rbac/scripts
! DEST_RA_CONFRBACSCRIPTSDIR = ${ra_prefix}/conf/rbac/scripts
! FILES = \
! addCertsLDAP.conf \
! addCrlLDAP.conf \
! appReq.conf \
! confirmReq.conf \
! crlList.conf \
! delete_crr.conf \
! delReq.conf \
! exportAll.conf \
! exportCRR.conf \
! exportReqs.conf \
! genRAServerDB.conf \
! importAll.conf \
! importCerts.conf \
! importConfig.conf \
! importCRL.conf \
! listCerts.conf \
! listReqs.conf \
! new_crr.conf \
! raList.conf \
! raServerInfo.conf \
! rebuildChain.conf \
! removeFiles.conf \
! show_ask4rev.conf \
! submit_ask4rev.conf \
! updateLDAP.conf \
! viewCert.conf \
! viewCRL.conf \
! viewReq.conf
! DEST_CA_FILES = $(FILES:%=$(DEST_CA_CONFRBACSCRIPTSDIR)/%)
! DEST_RA_FILES = $(FILES:%=$(DEST_RA_CONFRBACSCRIPTSDIR)/%)
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACSCRIPTSDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACSCRIPTSDIR)
! install-ca:: $(DEST_CA_FILES)
! $(DEST_CA_FILES):: $(DEST_CA_CONFRBACSCRIPTSDIR)
! $(DEST_CA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_CA_CONFRBACSCRIPTSDIR)/%=%) $@
! $(DEST_RA_CONFRBACSCRIPTSDIR):
! $(INSTALL) -d -m 755 $@
! install-ext:: $(DEST_RA_CONFRBACSCRIPTSDIR)
! install-ext:: $(DEST_RA_FILES)
! $(DEST_RA_FILES):: $(DEST_RA_CONFRBACSCRIPTSDIR)
! $(DEST_RA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_RA_CONFRBACSCRIPTSDIR)/%=%) $@
! distclean::
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,54 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 644
!
! RA_DIR=${ra_prefix}/conf/rbac
! CA_DIR=${ca_prefix}/conf/rbac
!
! SUBDIRS="modules operations rights roles scripts"
!
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
!
! clean:
! @for i in "$(SUBDIRS)" ; \
! do \
! cd $$i && $(MAKE) clean && cd .. ; \
! done
! @$(RM) -f Makefile
!
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(CA_DIR)
! @for i in "$(SUBDIRS)" ; \
! do \
! cd $$i && $(MAKE) ca-conf && cd .. ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! # end
--- 6,36 ----
include $(TOP)/Makefile.global-vars
! DEST_CA_CONFRBACDIR = ${ca_prefix}/conf/rbac
! DEST_RA_CONFRBACDIR = ${ra_prefix}/conf/rbac
! SUBDIRS = \
! modules \
! operations \
! rights \
! roles \
! scripts
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACDIR) \
! $(DEST_RA_CONFRBACDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACDIR)
! install-ext:: $(DEST_RA_CONFRBACDIR)
! install-ca install-ext clean distclean::
! $(MAKE) $(SUBDIRS) SUBTARGET=$@
! $(SUBDIRS)::
! cd $@ && $(MAKE) $(SUBTARGET)
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac/rights
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac/rights
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/rights/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,56 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 664
!
! RA_DIR=${ra_prefix}/conf/rbac/rights
! CA_DIR=${ca_prefix}/conf/rbac/rights
!
! SUBDIRS=""
! FILES="*.sig"
!
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
! clean:
! @for i in "$(FILES)" ; \
! do \
! $(RM) -f $$i ; \
! done
! @$(RM) -f Makefile
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 775 $(CA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(CA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) "$$i" "$(CA_DIR)/$$i" ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! # end
--- 6,100 ----
include $(TOP)/Makefile.global-vars
! DEST_CA_CONFRBACRIGHTSDIR = ${ca_prefix}/conf/rbac/rights
! DEST_RA_CONFRBACRIGHTSDIR = ${ra_prefix}/conf/rbac/rights
! FILES = \
! "RA_1--00--approve_crr--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--approve_crr--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--approve_crr--00--RA\ Operator--00--RA\ Operator.sig" \
! "RA_1--00--approve_crr--00--RA\ Operator--00--User.sig" \
! "RA_1--00--approve_crr--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--approve_crr--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--approve_request--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--approve_request--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--approve_request--00--RA\ Operator--00--User.sig" \
! "RA_1--00--approve_request--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--approve_request--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--certificates_to_ldap--00--CA\ Admin--00--.sig" \
! "RA_1--00--confirm_request--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--confirm_request--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--confirm_request--00--RA\ Operator--00--User.sig" \
! "RA_1--00--confirm_request--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--confirm_request--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--create_crr--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--create_crr--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--create_crr--00--RA\ Operator--00--RA\ Operator.sig" \
! "RA_1--00--create_crr--00--RA\ Operator--00--User.sig" \
! "RA_1--00--create_crr--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--create_crr--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--crl_to_ldap--00--CA\ Admin--00--.sig" \
! "RA_1--00--delete_crr--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--delete_crr--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--delete_crr--00--RA\ Operator--00--User.sig" \
! "RA_1--00--delete_crr--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--delete_crr--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--delete_request--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--delete_request--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--delete_request--00--RA\ Operator--00--RA\ Operator.sig" \
! "RA_1--00--delete_request--00--RA\ Operator--00--User.sig" \
! "RA_1--00--delete_request--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--delete_request--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--export_all--00--CA\ Admin--00--.sig" \
! "RA_1--00--export_crr--00--CA\ Admin--00--.sig" \
! "RA_1--00--export_request--00--CA\ Admin--00--.sig" \
! "RA_1--00--import_all--00--CA\ Admin--00--.sig" \
! "RA_1--00--import_certificates--00--CA\ Admin--00--.sig" \
! "RA_1--00--import_configuration--00--CA\ Admin--00--.sig" \
! "RA_1--00--import_crl--00--CA\ Admin--00--.sig" \
! "RA_1--00--list_certificates--00--CA\ Admin--00--.sig" \
! "RA_1--00--list_certificates--00--RA\ Operator--00--.sig" \
! "RA_1--00--list_crls--00--CA\ Admin--00--.sig" \
! "RA_1--00--list_crls--00--RA\ Operator--00--.sig" \
! "RA_1--00--list_requests--00--CA\ Admin--00--.sig" \
! "RA_1--00--list_requests--00--RA\ Operator--00--.sig" \
! "RA_1--00--module_information--00--CA\ Admin--00--.sig" \
! "RA_1--00--module_information--00--RA\ Operator--00--.sig" \
! "RA_1--00--module_initialization--00--CA\ Admin--00--.sig" \
! "RA_1--00--view_certificate--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--view_certificate--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--view_certificate--00--RA\ Operator--00--RA\ Operator.sig" \
! "RA_1--00--view_certificate--00--RA\ Operator--00--User.sig" \
! "RA_1--00--view_certificate--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--view_certificate--00--RA\ Operator--00--Web\ Server.sig" \
! "RA_1--00--view_crl--00--CA\ Admin--00--.sig" \
! "RA_1--00--view_crl--00--RA\ Operator--00--.sig" \
! "RA_1--00--view_request--00--CA\ Admin--00--CA\ Admin.sig" \
! "RA_1--00--view_request--00--CA\ Admin--00--RA\ Operator.sig" \
! "RA_1--00--view_request--00--RA\ Operator--00--User.sig" \
! "RA_1--00--view_request--00--RA\ Operator--00--VPN\ Server.sig" \
! "RA_1--00--view_request--00--RA\ Operator--00--Web\ Server.sig"
! DEST_CA_FILES = $(FILES:%=$(DEST_CA_CONFRBACRIGHTSDIR)/%)
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACRIGHTSDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACRIGHTSDIR)
! install-ca:: $(DEST_CA_FILES)
! $(DEST_CA_FILES):: $(DEST_CA_CONFRBACRIGHTSDIR)
! $(DEST_CA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_CA_CONFRBACRIGHTSDIR)/%=%) $(DEST_CA_CONFRBACRIGHTSDIR)
! $(DEST_RA_CONFRBACRIGHTSDIR):
! $(INSTALL) -d -m 755 $@
! install-ext:: $(DEST_RA_CONFRBACRIGHTSDIR)
! distclean::
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac/operations
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac/operations
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/operations/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,56 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 664
!
! RA_DIR=${ra_prefix}/conf/rbac/operations
! CA_DIR=${ca_prefix}/conf/rbac/operations
!
! SUBDIRS=""
! FILES="delete_request list_crls export_all list_requests approve_crr export_crr module_information approve_request export_request module_initialization certificates_to_ldap import_all view_certificate confirm_request import_certificates view_crl create_crr import_configuration view_request crl_to_ldap import_crl delete_crr list_certificates"
!
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
! clean:
! @for i in "$(FILES)" ; \
! do \
! $(RM) -f $$i ; \
! done
! @$(RM) -f Makefile
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 775 $(CA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(CA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) $$i "$(CA_DIR)/$$i" ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! # end
--- 6,58 ----
include $(TOP)/Makefile.global-vars
! DEST_RA_CONFOPENSSLEXTFILESDIR = ${ca_prefix}/conf/rbac/operations
! DEST_RA_CONFOPENSSLEXTFILESDIR = ${ca_prefix}/conf/rbac/operations
! FILES = \
! approve_crr \
! approve_request \
! certificates_to_ldap \
! confirm_request \
! crl_to_ldap \
! delete_crr \
! delete_request \
! export_all \
! export_crr \
! export_request \
! import_all \
! import_certificates \
! import_configuration \
! import_crl \
! list_certificates \
! list_crls \
! list_requests \
! module_information \
! module_initialization \
! view_certificate \
! view_crl create_crr \
! view_request
! DEST_CA_FILES = $(FILES:%=$(DEST_CA_CONFRBACOPERATIONSDIR)/%)
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACOPERATIONSDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACOPERATIONSDIR)
! install-ca:: $(DEST_CA_FILES)
! $(DEST_CA_FILES):: $(DEST_CA_CONFRBACOPERATIONSDIR)
! $(DEST_CA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_CA_CONFRBACOPERATIONSDIR)/%=%) $@
! $(DEST_RA_CONFRBACOPERATIONSDIR):
! $(INSTALL) -d -m 755 $@
! install-ext:: $(DEST_RA_CONFRBACOPERATIONSDIR)
! distclean::
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac/roles
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac/roles
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/roles/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,61 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 664
!
! RA_DIR=${ra_prefix}/conf/rbac/roles
! CA_DIR=${ca_prefix}/conf/rbac/roles
!
! SUBDIRS=""
! FILES="CA* RA* User VPN* Web*"
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
! clean:
! @for i in "$(FILES)" ; \
! do \
! $(RM) -f $$i ; \
! done
! @$(RM) -f Makefile
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 775 $(CA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(CA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) "$$i" "$(CA_DIR)/$$i" ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(RA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) $$i "$(RA_DIR)/$$i" ; \
! done
! # end
--- 6,47 ----
include $(TOP)/Makefile.global-vars
! DEST_CA_CONFRBACROLESDIR = ${ca_prefix}/conf/rbac/roles
! DEST_RA_CONFRBACROLESDIR = ${ra_prefix}/conf/rbac/roles
! FILES = \
! "CA\ Admin" \
! "RA\ Operator" \
! "User" \
! "VPN\ Server" \
! "Web\ Server"
! DEST_CA_FILES = $(FILES:%=$(DEST_CA_CONFRBACROLESDIR)/%)
! DEST_RA_FILES = $(FILES:%=$(DEST_RA_CONFRBACROLESDIR)/%)
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACROLESDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACROLESDIR)
! install-ca:: $(DEST_CA_FILES)
! $(DEST_CA_FILES):: $(DEST_CA_CONFRBACROLESDIR)
! $(DEST_CA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_CA_CONFRBACROLESDIR)/%=%) $(DEST_CA_CONFRBACROLESDIR)
! $(DEST_RA_CONFRBACROLESDIR):
! $(INSTALL) -d -m 755 $@
! install-ext:: $(DEST_RA_CONFRBACROLESDIR)
! install-ext:: $(DEST_RA_FILES)
! $(DEST_RA_FILES):: $(DEST_RA_CONFRBACROLESDIR)
! $(DEST_RA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_RA_CONFRBACROLESDIR)/%=%) $(DEST_RA_CONFRBACROLESDIR)
! distclean::
|
|
From: <ope...@li...> - 2001-10-11 21:28:46
|
Update of /cvsroot/openca/openca-0.9/src/conf/rbac/modules
In directory usw-pr-cvs1:/tmp/cvs-serv30292/conf/rbac/modules
Modified Files:
Makefile
Log Message:
several fixes for the installation
Index: Makefile
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/conf/rbac/modules/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Makefile 2001/09/13 16:56:43 1.1
--- Makefile 2001/10/11 21:28:43 1.2
***************
*** 6,56 ****
include $(TOP)/Makefile.global-vars
! INSTALL_OPT = -o ${user} -g ${group} -m 664
!
! RA_DIR=${ra_prefix}/conf/rbac/modules
! CA_DIR=${ca_prefix}/conf/rbac/modules
!
! SUBDIRS=""
! FILES="RA_1"
! info:
! @$(ECHO)
! @$(ECHO) "OpenCA Installation Manager $(VER)";
! @$(ECHO) "Copyrights (c) 1999 by OpenCA Group";
! @$(ECHO)
! @$(ECHO) "Usage : make [ target ]";
! @$(ECHO) ""
! clean:
! @for i in "$(FILES)" ; \
! do \
! $(RM) -f $$i ; \
! done
! @$(RM) -f Makefile
! all: conf
! full-ca: ca-web
! ca-web: ca
! ca: ca-conf
! full-raserver: raserver-web
! raserver-web: raserver
! raserver: raserver-conf
! ca-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 775 $(CA_DIR)
! @for i in "$(FILES)" ; \
! do \
! $(ECHO) "Installing $$i in $(CA_DIR) ... " ; \
! $(INSTALL) $(INSTALL_OPT) $$i "$(CA_DIR)/$$i" ; \
! done
! raserver-conf:
! @$(INSTALL) -d -o ${user} -g ${group} -m 755 $(RA_DIR)
! # end
--- 6,43 ----
include $(TOP)/Makefile.global-vars
! DEST_CA_CONFRBACMODULESDIR = ${ca_prefix}/conf/rbac/modules
! DEST_RA_CONFRBACMODULESDIR = ${ra_prefix}/conf/rbac/modules
! FILES = \
! RA_1
! DEST_CA_FILES = $(FILES:%=$(DEST_CA_CONFRBACMODULESDIR)/%)
! DEST_RA_FILES = $(FILES:%=$(DEST_RA_CONFRBACMODULESDIR)/%)
! #---- variable settings above, rules below ----
! .PHONY: default install-ca install-ext clean distclean
! default::
! $(DEST_CA_CONFRBACMODULESDIR):
! $(INSTALL) -d -m 755 $@
! install-ca:: $(DEST_CA_CONFRBACMODULESDIR)
! install-ca:: $(DEST_CA_FILES)
! $(DEST_CA_FILES):: $(DEST_CA_CONFRBACMODULESDIR)
! $(DEST_CA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_CA_CONFRBACMODULESDIR)/%=%) $@
! $(DEST_RA_CONFRBACMODULESDIR):
! $(INSTALL) -d -m 755 $@
! install-ext:: $(DEST_RA_CONFRBACMODULESDIR)
! install-ext:: $(DEST_RA_FILES)
! $(DEST_RA_FILES):: $(DEST_RA_CONFRBACMODULESDIR)
! $(DEST_RA_FILES)::
! $(INSTALL) -m 644 $(@:$(DEST_RA_CONFRBACMODULESDIR)/%=%) $@
! distclean::
|
|
From: <ope...@li...> - 2001-10-11 17:22:43
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds
In directory usw-pr-cvs1:/tmp/cvs-serv32619/src/cgi-bin/cgi-public/cmds
Modified Files:
ie_req pkcs10_req spkac_req
Log Message:
fixing several small mistakes related to the installation
Index: ie_req
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds/ie_req,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ie_req 2001/09/13 10:56:33 1.1
--- ie_req 2001/10/11 17:22:40 1.2
***************
*** 21,25 ****
## Set the needed Parameters
my $shell = getRequired('openssl');
- local $dbDir = getRequired('dbDir');
my $formFile = getRequired('ie_reqstartform');
--- 21,24 ----
***************
*** 281,285 ****
if (not $db->storeItem(DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>PEM)){
! generalError( "Error while storing REQ ($dbDir)!" );
};
--- 280,284 ----
if (not $db->storeItem(DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>PEM)){
! generalError( "Error while storing REQ in database!" );
};
Index: pkcs10_req
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds/pkcs10_req,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pkcs10_req 2001/09/13 10:56:33 1.1
--- pkcs10_req 2001/10/11 17:22:40 1.2
***************
*** 20,24 ****
## Set the needed Parameters
my $shell = getRequired('openssl');
- local $dbDir = getRequired('dbDir');
my $formFile = getRequired('PKCS10_ReqStartForm');
--- 20,23 ----
***************
*** 203,207 ****
if( not $db->storeItem( DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>PEM )) {
! generalError( "Error while storing REQ ($dbDir)!" );
};
--- 202,206 ----
if( not $db->storeItem( DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>PEM )) {
! generalError( "Error while storing REQ in database!" );
};
Index: spkac_req
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds/spkac_req,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** spkac_req 2001/09/13 10:56:33 1.2
--- spkac_req 2001/10/11 17:22:40 1.3
***************
*** 23,27 ****
## Set the needed Parameters
my $shell = getRequired('openssl');
- local $dbDir = getRequired('dbDir');
my $formFile = getRequired('spkac_reqstartform');
--- 23,26 ----
***************
*** 310,314 ****
if (not $db->storeItem(DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>SPKAC)){
! generalError( "Error while storing REQ ($dbDir)!" );
};
--- 309,313 ----
if (not $db->storeItem(DATATYPE=>PENDING_REQUEST,
OBJECT=>$req, INFORM=>SPKAC)){
! generalError( "Error while storing REQ in database!" );
};
|
|
From: <ope...@li...> - 2001-10-11 17:22:43
|
Update of /cvsroot/openca/openca-0.9/src/conf In directory usw-pr-cvs1:/tmp/cvs-serv32619/src/conf Modified Files: Makefile Log Message: fixing several small mistakes related to the installation Index: Makefile =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/conf/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2001/09/13 16:56:43 1.1 --- Makefile 2001/10/11 17:22:40 1.2 *************** *** 12,17 **** misc \ openssl \ ! ! ignored.SUBDIRS = \ rbac --- 12,16 ---- misc \ openssl \ ! #ignored.SUBDIRS = \ rbac |
|
From: <ope...@li...> - 2001-10-11 17:22:43
|
Update of /cvsroot/openca/openca-0.9/src/modules/openca-openssl
In directory usw-pr-cvs1:/tmp/cvs-serv32619/src/modules/openca-openssl
Modified Files:
OpenSSL.pm
Log Message:
fixing several small mistakes related to the installation
Index: OpenSSL.pm
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/modules/openca-openssl/OpenSSL.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** OpenSSL.pm 2001/10/11 10:57:50 1.6
--- OpenSSL.pm 2001/10/11 17:22:40 1.7
***************
*** 1066,1069 ****
--- 1066,1070 ----
}
+ $ret = `$cmd`;
my @ret = split /\n/, $ret;
my $return = {};
***************
*** 1085,1089 ****
$return->{$_} .= $ret[$i++];
}
- $ret = `$cmd`;
unlink( $tmpfile );
if ( $? != 0 ) {
--- 1086,1089 ----
|
|
From: <ope...@li...> - 2001-10-11 16:04:28
|
Update of /cvsroot/openca/openca-0.9
In directory usw-pr-cvs1:/tmp/cvs-serv2714
Modified Files:
Config
Log Message:
fixes --with-httpd-(user|group) (missing httpd)
Index: Config
===================================================================
RCS file: /cvsroot/openca/openca-0.9/Config,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** Config 2001/09/24 12:19:20 1.8
--- Config 2001/10/11 16:04:26 1.9
***************
*** 3,8 ****
./configure \
--with-engine=no \
! --with-user=wwwrun \
! --with-group=nogroup \
--with-ca-prefix=/usr/local/openca/OpenCA \
--with-ca-htdocs-fs-prefix=/usr/local/openca/htdocs/htdocs-ca \
--- 3,8 ----
./configure \
--with-engine=no \
! --with-httpd-user=wwwrun \
! --with-httpd-group=nogroup \
--with-ca-prefix=/usr/local/openca/OpenCA \
--with-ca-htdocs-fs-prefix=/usr/local/openca/htdocs/htdocs-ca \
|
|
From: <ope...@li...> - 2001-10-11 16:03:41
|
Update of /cvsroot/openca/openca-0.9/src/htdocs/htdocs-public In directory usw-pr-cvs1:/tmp/cvs-serv2503/htdocs/htdocs-public Modified Files: Makefile Log Message: fixes only Index: Makefile =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/htdocs/htdocs-public/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2001/09/13 16:56:43 1.1 --- Makefile 2001/10/11 16:03:34 1.2 *************** *** 20,24 **** STATIC_FILES = \ index.html \ ! top.html FILES = $(AC_FILES) $(STATIC_FILES) --- 20,25 ---- STATIC_FILES = \ index.html \ ! top.html \ ! new_ask4rev.html FILES = $(AC_FILES) $(STATIC_FILES) |
|
From: <ope...@li...> - 2001-10-11 16:03:41
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/sheets In directory usw-pr-cvs1:/tmp/cvs-serv2503/cgi-bin/cgi-public/sheets Modified Files: Makefile Log Message: fixes only Index: Makefile =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/sheets/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 2001/09/18 12:17:09 1.2 --- Makefile 2001/10/11 16:03:34 1.3 *************** *** 15,19 **** ie_request.html \ issued_certs.html \ - new_ask4rev.html \ pending-list.html \ pkcs10_confirm_request.html \ --- 15,18 ---- *************** *** 21,25 **** revpend.html \ revreq.html \ - ril.html \ show_ask4rev.html \ spkac_confirm_request.html \ --- 20,23 ---- |
|
From: <ope...@li...> - 2001-10-11 16:03:40
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds In directory usw-pr-cvs1:/tmp/cvs-serv2503/cgi-bin/cgi-public/cmds Modified Files: Makefile Log Message: fixes only Index: Makefile =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/cmds/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 2001/09/18 11:55:45 1.2 --- Makefile 2001/10/11 16:03:34 1.3 *************** *** 13,22 **** # commands not derived from .in files: STATIC_CMDS = \ listCerts \ listReqs \ ! new_ask4rev \ sendcert \ show_ask4rev \ spkac_req \ submit_ask4rev \ test_cert \ --- 13,26 ---- # commands not derived from .in files: STATIC_CMDS = \ + getID \ + ie_req \ listCerts \ listReqs \ ! pkcs10_req \ sendcert \ + show_ask4pin \ show_ask4rev \ spkac_req \ + submit_ask4pin \ submit_ask4rev \ test_cert \ |
|
From: <ope...@li...> - 2001-10-11 16:03:39
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public In directory usw-pr-cvs1:/tmp/cvs-serv2503/cgi-bin/cgi-public Modified Files: Makefile Log Message: fixes only Index: Makefile =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-public/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 2001/09/13 16:56:42 1.1 --- Makefile 2001/10/11 16:03:34 1.2 *************** *** 16,21 **** PROGS = \ ! pki \ ! ril.pl DEST_PROGS = $(PROGS:%=$(DEST_PUB_CGIDIR)/%) --- 16,20 ---- PROGS = \ ! pki DEST_PROGS = $(PROGS:%=$(DEST_PUB_CGIDIR)/%) |
|
From: <ope...@li...> - 2001-10-11 10:59:00
|
Update of /cvsroot/openca/openca-0.9/src/modules/openca-x509
In directory usw-pr-cvs1:/tmp/cvs-serv1715
Modified Files:
X509.pm Changes
Log Message:
some speed enhancements and specs for rpms
Index: X509.pm
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/modules/openca-x509/X509.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** X509.pm 2001/09/24 11:59:14 1.6
--- X509.pm 2001/10/11 10:58:57 1.7
***************
*** 55,59 ****
package OpenCA::X509;
! $OpenCA::X509::VERSION = '0.9.6a';
my %params = (
--- 55,59 ----
package OpenCA::X509;
! $OpenCA::X509::VERSION = '0.9.8a';
my %params = (
***************
*** 243,250 ****
"ALIAS", "MODULUS", "KEY", "FINGERPRINT", "HASH" );
! for $k ( @attList ) {
! $ret->{$k} = $self->{backend}->getCertAttribute(
! ATTRIBUTE=>$k, DATA=>$self->getPEM());
! };
if ( length( $ret->{SERIAL} ) % 2 ) {
--- 243,252 ----
"ALIAS", "MODULUS", "KEY", "FINGERPRINT", "HASH" );
! # for $k ( @attList ) {
! # $ret->{$k} = $self->{backend}->getCertAttribute(
! # ATTRIBUTE=>$k, DATA=>$self->getPEM());
! # };
! $ret = $self->{backend}->getCertAttribute(
! ATTRIBUTE_LIST=>\@attList, DATA=>$self->getPEM());
if ( length( $ret->{SERIAL} ) % 2 ) {
Index: Changes
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/modules/openca-x509/Changes,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Changes 2001/09/06 15:09:44 1.1.1.1
--- Changes 2001/10/11 10:58:57 1.2
***************
*** 1,5 ****
Revision history for Perl extension OpenCA::X509.
0.1.0 Thu Feb 10 12:23:40 2000
- original version; created by h2xs 1.19
-
--- 1,8 ----
Revision history for Perl extension OpenCA::X509.
+ 0.9.8 Thu Sep 27 19:36:03 2001
+ - patched for object creation performance, compatible
+ with OpenCA::OpenSSL version 0.8.43 (+)
+
0.1.0 Thu Feb 10 12:23:40 2000
- original version; created by h2xs 1.19
|
|
From: <ope...@li...> - 2001-10-11 10:59:00
|
Update of /cvsroot/openca/openca-0.9/src/modules/openca-x509/specs
In directory usw-pr-cvs1:/tmp/cvs-serv1715/specs
Added Files:
suse.spec redhat.spec
Log Message:
some speed enhancements and specs for rpms
--- NEW FILE: suse.spec ---
#
# spec file for package perl-OpenCA-X509
#
# Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# please send bugfixes or comments to fee...@su....
#
Name: perl-OpenCA-X509
Copyright: Copyright (C) 1998-2001 Massimiliano Pala and OpenCA Group
Group: Development/Languages/Perl
Provides: perl-OpenCA-X509
Requires: openssl perl-OpenCA-OpenSSL
Autoreqprov: on
Summary: X509 Object Handling in PERL
Version: @VER@
Release: 0
Source: OpenCA-X509-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
This module provides an object-oriented interface for X509 managing.
Supported operations are oriented to parsing X509s, the module uses
the OpenCA-OpenSSL module for accessing the objects internals.
Authors:
--------
This software is part of the OpenCA Project and it has been mainly developed
by Massimiliano Pala (ma...@op...). Thanks goes to anyone who has
contributed to the developing of the package.
%prep
%setup -n OpenCA-X509-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------
%install
%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
install -d $RPM_BUILD_ROOT/%{perl_archlib}
make PREFIX=$RPM_BUILD_ROOT/usr \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install
install -d $RPM_BUILD_ROOT/var/adm/perl-modules
cat $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod | sed "s@$RPM_BUILD_ROOT@@g" > $RPM_BUILD_ROOT/var/adm/perl-modules/%{name}
cd $RPM_BUILD_ROOT/%{perl_sitearch}/auto/OpenCA/X509
cat .packlist | sed "s@$RPM_BUILD_ROOT@@g" | sort -u > .packlist
%files
%defattr(-,root,root)
/%{perl_sitelib}/OpenCA/X509.pm
%doc Changes LICENSE MANIFEST
%doc %{_mandir}/man3/OpenCA::X509.3pm.gz
/var/adm/perl-modules/%{name}
%changelog -n perl-OpenCA-X509
* Tue Aug 21 2001 - ug...@su...
- added to distribution
--- NEW FILE: redhat.spec ---
#
# spec file for package OpenCA-X509
#
# redhat packages
#
Name: OpenCA-X509
Copyright: Copyright (C) 1998-2001 Massimiliano Pala and OpenCA Group
Group: Development/Languages/Perl
Provides: OpenCA-X509
Requires: openssl OpenCA-OpenSSL
Autoreqprov: on
Summary: X509 objects handling in PERL
Version: @VER@
Release: 0
Source: OpenCA-X509-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
This module provides an object-oriented interface for X509 managing.
Supported operations are oriented to parsing X509s, the module uses
the OpenCA-OpenSSL module for accessing the objects internals.
Authors:
--------
This software is part of the OpenCA Project and it has been mainly developed
by Massimiliano Pala (ma...@op...). Thanks goes to anyone who has
contributed to the developing of the package.
%prep
%setup -n OpenCA-X509-%{version}
#%patch -p1
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------
%install
%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
install -d $RPM_BUILD_ROOT/%{perl_archlib}
make PREFIX=$RPM_BUILD_ROOT/usr \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install
install -d $RPM_BUILD_ROOT/var/adm/perl-modules
cat $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod | sed "s@$RPM_BUILD_ROOT@@g" > $RPM_BUILD_ROOT/var/adm/perl-modules/%{name}
cd $RPM_BUILD_ROOT/%{perl_sitearch}/auto/OpenCA/X509
cat .packlist | sed "s@$RPM_BUILD_ROOT@@g" | sort -u > .packlist
%files
%defattr(-,root,root)
/%{perl_sitelib}/OpenCA/X509.pm
%doc Changes LICENSE MANIFEST
%doc %{_mandir}/man3/OpenCA::X509.3pm.gz
/var/adm/perl-modules/%{name}
%changelog -n OpenCA-X509
* Mon Sep 24 2001 - ma...@op...
- created for auto nightly build (auto versioning)
|
|
From: <ope...@li...> - 2001-10-11 10:57:53
|
Update of /cvsroot/openca/openca-0.9/src/modules/openca-openssl
In directory usw-pr-cvs1:/tmp/cvs-serv1368
Modified Files:
OpenSSL.pm
Log Message:
several speed enhancements (original from Uwe Gansert)
Index: OpenSSL.pm
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/modules/openca-openssl/OpenSSL.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** OpenSSL.pm 2001/09/24 11:44:52 1.5
--- OpenSSL.pm 2001/10/11 10:57:50 1.6
***************
*** 1,5 ****
## OpenCA::OpenSSL
##
! ## Copyright (C) 1998-1999 Massimiliano Pala (ma...@op...)
## All rights reserved.
##
--- 1,5 ----
## OpenCA::OpenSSL
##
! ## Copyright (C) 1998-2001 Massimiliano Pala (ma...@op...)
## All rights reserved.
##
***************
*** 58,62 ****
package OpenCA::OpenSSL;
! $OpenCA::OpenSSL::VERSION = '0.9.41';
## Global Variables Go HERE
--- 58,62 ----
package OpenCA::OpenSSL;
! $OpenCA::OpenSSL::VERSION = '0.9.43';
## Global Variables Go HERE
***************
*** 1030,1034 ****
my $inform = ( $keys->{INFORM} or "PEM" );
! my $attribute = lc($keys->{ATTRIBUTE});
my $cmd = "$self->{shell} x509 -noout ";
--- 1030,1039 ----
my $inform = ( $keys->{INFORM} or "PEM" );
! my @attribute = ();
! if( exists($keys->{ATTRIBUTE_LIST}) && ref($keys->{ATTRIBUTE_LIST}) ) {
! @attribute = @{$keys->{ATTRIBUTE_LIST}};
! } else {
! @attribute = ( $keys->{ATTRIBUTE} );
! }
my $cmd = "$self->{shell} x509 -noout ";
***************
*** 1049,1074 ****
return;
}
!
! $attribute = "startdate" if( uc ($attribute) eq "NOTBEFORE" );
! $attribute = "enddate" if( uc ($attribute) eq "NOTAFTER" );
! $attribute = "subject" if( uc ($attribute) eq "DN" );
! $attribute = "pubkey" if( uc ($attribute) eq "KEY" );
!
! if( defined($engine) and ($engine ne "") ) {
! $cmd .= "-engine $engine ";
! }
!
! $cmd .= "-$attribute " if (exists $keys->{ATTRIBUTE} );
$ret = `$cmd`;
unlink( $tmpfile );
-
if ( $? != 0 ) {
return;
} else {
! $ret =~ s/(.*?)=[\s]*//;
! $ret =~ s/$(\n|\r)//;
!
! return $ret;
}
--- 1054,1098 ----
return;
}
! foreach my $attribute ( @attribute ) {
! $attribute = "startdate" if( uc ($attribute) eq "NOTBEFORE" );
! $attribute = "enddate" if( uc ($attribute) eq "NOTAFTER" );
! $attribute = "subject" if( uc ($attribute) eq "DN" );
! $attribute = "pubkey" if( uc ($attribute) eq "KEY" );
! $attribute = lc($attribute);
! $cmd .= "-$attribute ";
! }
! if( defined($engine) and ($engine ne "") ) {
! $cmd .= "-engine $engine ";
! }
+ my @ret = split /\n/, $ret;
+ my $return = {};
+ my $i=0;
+ foreach( @attribute ) {
+ $_ = uc($_);
+ if( $_ eq 'SUBJECT' ) {
+ $_ = 'DN';
+ } elsif( $_ eq 'STARTDATE' ) {
+ $_ = 'NOTBEFORE';
+ } elsif( $_ eq 'ENDDATE' ) {
+ $_ = 'NOTAFTER';
+ } elsif( $_ eq 'PUBKEY' ) {
+ $_ = 'KEY';
+ do {
+ $return->{$_} .= $ret[$i];
+ } while( $ret[++$i] !~ /^-----END PUBLIC KEY-----/ );
+ }
+ $return->{$_} .= $ret[$i++];
+ }
$ret = `$cmd`;
unlink( $tmpfile );
if ( $? != 0 ) {
return;
} else {
! foreach ( keys(%$return) ) {
! $return->{$_} =~ s/(.*?)=[\s]*//;
! $return->{$_} =~ s/$(\n|\r)//;
! }
! return (ref($keys->{ATTRIBUTE_LIST}))?($return):($return->{$attribute[0]});
}
|
|
From: <ope...@li...> - 2001-10-11 10:57:00
|
Update of /cvsroot/openca/openca-0.9/src/conf/openssl In directory usw-pr-cvs1:/tmp/cvs-serv1119 Modified Files: ca-openssl.cnf.in Log Message: added a critical bit for the ca Index: ca-openssl.cnf.in =================================================================== RCS file: /cvsroot/openca/openca-0.9/src/conf/openssl/ca-openssl.cnf.in,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ca-openssl.cnf.in 2001/09/06 11:44:14 1.2 --- ca-openssl.cnf.in 2001/10/11 10:56:57 1.3 *************** *** 184,188 **** # It's a CA certificate ! basicConstraints = CA:true # PKIX recommendation. --- 184,188 ---- # It's a CA certificate ! basicConstraints = critical,CA:true # PKIX recommendation. *************** *** 192,201 **** authorityKeyIdentifier=keyid:always,issuer:always - # This is what PKIX recommends but some broken software chokes on critical - # extensions. - #basicConstraints = critical,CA:true - # Key usage: again this should really be critical. ! keyUsage = cRLSign, keyCertSign # Some might want this also --- 192,197 ---- authorityKeyIdentifier=keyid:always,issuer:always # Key usage: again this should really be critical. ! keyUsage = digitalSignature, nonRepudiation, cRLSign, keyCertSign # Some might want this also |
|
From: <ope...@li...> - 2001-10-11 10:56:22
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-raserver/cmds
In directory usw-pr-cvs1:/tmp/cvs-serv886
Modified Files:
appReq confirmReq listReqs
Log Message:
some fixes fromopenca 0.8 included
Index: appReq
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-raserver/cmds/appReq,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** appReq 2001/09/20 12:18:05 1.2
--- appReq 2001/10/11 10:56:19 1.3
***************
*** 84,88 ****
## people should get here in, please verify your web configuration,
## this is not matter of this program but access control )
! $parsed->{HEADER}->{OPERATOR} = $ENV{'SSL_CLIENT_M_SERIAL'};
if( $parsed->{HEADER}->{OPERATOR} eq "" ) {
--- 84,89 ----
## people should get here in, please verify your web configuration,
## this is not matter of this program but access control )
! $parsed->{HEADER}->{OPERATOR} =
! ( $ENV{'SSL_CLIENT_CERT_SERIAL'} or $ENV{'SSL_CLIENT_M_SERIAL'});
if( $parsed->{HEADER}->{OPERATOR} eq "" ) {
Index: confirmReq
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-raserver/cmds/confirmReq,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** confirmReq 2001/09/20 12:18:05 1.2
--- confirmReq 2001/10/11 10:56:19 1.3
***************
*** 61,72 ****
}
! if( libCheckSignature( OBJECT=>$item ) ) {
! $sigStatus = "Valid";
! } else {
! $sigStatus = "<FONT COLOR=Red>Error $errno</FONT><BR><BR>$errval";
}
- $item->getParsed()->{HEADER}->{OPERATOR} = $ENV{'SIGNER_SERIAL'};
- $item->getParsed()->{HEADER}->{OPERATOR_DN} = $ENV{'SIGNER_DN'};
if ( not $db->deleteItem( DATATYPE=>$dataType, KEY=>$key ) ) {
--- 61,83 ----
}
! $signer = libGetSignatureObject( OBJECT=>$item );
! if ( not $signer ) {
! $sigStatus = "<FONT COLOR=\"Red\">Error $errno</FONT><br><br>$errval";
! my $sigCert = new OpenCA::X509 ( SHELL => $cryptoShell,
! DATA => $signer->getSigner()->{CERTIFICATE});
!
! $item->getParsed()->{HEADER}->{OPERATOR} =
! $sigCert->getParsed()->{SERIAL};
! $item->getParsed()->{HEADER}->{OPERATOR_DN} =
! $sigCert->getParsed()->{DN};
!
! if( libCheckSignature( OBJECT=>$item ) ) {
! $sigStatus = "Valid";
! } else {
! $sigStatus = "<FONT COLOR=Red>Error $errno</FONT><BR>".
! "<BR>$errval";
! }
}
if ( not $db->deleteItem( DATATYPE=>$dataType, KEY=>$key ) ) {
Index: listReqs
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-raserver/cmds/listReqs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** listReqs 2001/08/20 09:07:50 1.1.1.1
--- listReqs 2001/10/11 10:56:19 1.2
***************
*** 98,104 ****
$key = $parsed->{DBKEY};
! $serial = $head->{SERIAL};
!
! $date = ( $head->{NOTBEFORE} or "---" );
if( not $serial ) {
--- 98,103 ----
$key = $parsed->{DBKEY};
! $serial = ( $parsed->{SERIAL} or $head->{SERIAL} );
! $date = ( $parsed->{NOTBEFORE} or $head->{NOTBEFORE} or "---" );
if( not $serial ) {
***************
*** 110,114 ****
if( $dataType =~ /APPROVED|DELETED|ARCHIVIED/ ) {
! push( @vals,($head->{OPERATOR} or "n/a"));
}
--- 109,114 ----
if( $dataType =~ /APPROVED|DELETED|ARCHIVIED/ ) {
! push( @vals,( $parsed->{OPERATOR} or $head->{OPERATOR}
! or "n/a"));
}
|
|
From: <ope...@li...> - 2001-10-11 10:55:27
|
Update of /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-ca/cmds
In directory usw-pr-cvs1:/tmp/cvs-serv679
Modified Files:
listCerts
Log Message:
ported from openca-0.8
Index: listCerts
===================================================================
RCS file: /cvsroot/openca/openca-0.9/src/cgi-bin/cgi-ca/cmds/listCerts,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** listCerts 2001/08/20 09:07:49 1.1.1.1
--- listCerts 2001/10/11 10:55:24 1.2
***************
*** 36,39 ****
--- 36,40 ----
## Set the column titles
+ push( @cols, "Mark" );
push( @cols, "Serial" );
push( @cols, "Common Name" );
***************
*** 47,51 ****
FROM=>$from, TO=>$to, ITEMS=>$maxItems );
! $table = $query->buildRefs( ELEMENTS=>$matched, MAXITEMS=>$maxItems );
$table .= $query->startTable( COLS=>[ @cols ],
WIDTH=>"100%",
--- 48,55 ----
FROM=>$from, TO=>$to, ITEMS=>$maxItems );
! my $refs = $query->buildRefs( ELEMENTS=>$matched, MAXITEMS=>$maxItems );
!
! $table = $refs;
!
$table .= $query->startTable( COLS=>[ @cols ],
WIDTH=>"100%",
***************
*** 55,59 ****
foreach $cert ( @certsList ) {
! my ( $format, $key, $type, $ser_col );
my @vals;
--- 59,63 ----
foreach $cert ( @certsList ) {
! my ( $format, $key, $type, $ser_col, $check );
my @vals;
***************
*** 61,68 ****
--- 65,78 ----
$type = $dataType;
+ $check = $query->newInput( -intype=>checkbox,
+ -name=>"$key",
+ -value=>'1',
+ -label=>"" );
+
$ser_col = "<a href=\"$self?cmd=viewCert&dataType=$type" .
"&key=$key\">". $cert->getParsed()->{SERIAL} .
"</a>";
+ push( @vals, "<CENTER>$check</CENTER>" );
push( @vals, $ser_col );
push( @vals, ( $cert->getParsed()->{CN} || "<CENTER>---</CENTER>") );
***************
*** 73,81 ****
## Close the Table
$table .= $query->endTable();
- $table .= getCopyRight();
## Substitute the Variables in the $page
$page = $query->subVar( $page, '$uptime', $uptime );
$page = $query->subVar( $page, '$table', $table );
print "$page";
--- 83,92 ----
## Close the Table
$table .= $query->endTable();
## Substitute the Variables in the $page
$page = $query->subVar( $page, '$uptime', $uptime );
$page = $query->subVar( $page, '$table', $table );
+ $page = $query->subVar( $page, '@COPY@', getCopyRight() );
+ $page = $query->subVar( $page, '@DATATYPE@', $dataType);
print "$page";
|
|
From: <ope...@li...> - 2001-10-11 10:54:56
|
Update of /cvsroot/openca/openca-0.9/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv446
Modified Files:
openca-browserexp.in openca-getcert.in openca-getitem.in
openca-newcert.in
Added Files:
openca-addreq.in
Log Message:
ported from openca 0.8
--- NEW FILE: openca-addreq.in ---
#! @PERL@
$VER = '0.4.32';
## Add Request to DB - Version $VER
## (c) 1999 by Massimiliano Pala
## OpenCA Core Team
##
## (OpenCA Project)
##
## Description:
## ============
##
## This program adds a request to the DB where the
## ca/RAServer program will look for certificates.
##
## This script will be run when you issue certificate through the
## scritps in the bin/ directory and not using the Web interface.
##
## Please take note that this program, if the DB is not present
## will create it: you must be sure you run it as the user the
## httpd server will run (as the ca program needs to access to
## the DB to properly work).
##
## If permissions are not set, please change them or rebuild the DB
## (delete it and use this prog.)
##
## For Any clarifications, please refer to:
##
## o Documentation;
## o ope...@op...;
##
use OpenCA::@dbmodule@;
use OpenCA::OpenSSL;
use OpenCA::REQ;
use OpenCA::X509;
print "\n Add Request to DB - Version $VER (@dbmodule@ support set)\n";
print " (c) 1999/2000 by Massimiliano Pala and OpenCA Group\n";
print " OpenCA Licensed software\n\n";
my @keys = @ARGV;
my $reqFile = $keys[0];
my $dataType = ( $keys[1] or $ENV{'DATATYPE'} or "PENDING_REQUEST" );
my $OPENCA_DIR = ( $keys[2] or $ENV{'ca_prefix'} );
my $OPENSSL = ( $keys[3] or "@OPENSSL@" or $ENV{'OPENSSL'} );
if( "$reqFile" eq "" ) {
print " USAGE: $0 <fileName> [DATATYPE] [OPENCA_DIR] [SSL_DIR]\n\n";
print "ERROR: needed at least request file name!\n\n";
exit 1;
}
if( "$OPENCA_DIR" eq "" ) {
$OPENCA_DIR = '@ca_prefix@';
}
if( "$OPENSSL" eq "" ) {
$OPENSSL = "/usr/bin/openssl";
}
## Initialize the crypto shell;
my $cryptoShell = new OpenCA::OpenSSL( SHELL=>"$OPENSSL" );
$cryptoShell->setParams( CONFIG=>"$OPENCA_DIR/conf/openssl/openssl.cnf",
TMPDIR=>"$OPENCA_DIR/tmp",
STDERR=>"/dev/null" );
if ( not $cryptoShell ) {
configError( "Cannot initialize Crypto Shell ($shellPath)!" );
exit 1;
}
## Initialize the DB support
my $db = new OpenCA::@dbmodule@ ( SHELL=>$cryptoShell,
DB_DIR=>"$OPENCA_DIR/dB" );
if ( not $db ) {
configError( "Cannot initialize OpenCA::@dbmodule@ class! ($OPENCA_DIR/dB)" );
exit 1;
}
## Main Section
## ============
my $reqFile = "${OPENCA_DIR}/tmp/${reqFile}_req.pem";
my $req = new OpenCA::REQ( SHELL=>$cryptoShell, INFILE=>"$reqFile" );
if( not $req ) {
print "Error while loading certificate ($reqFile)!";
exit 1;
}
if ( not $db->storeItem( DATATYPE=>"$DATATYPE", OBJECT=>$req, )) {
print ("Error while storing cert to dB!");
} else {
print "Certificate $reqFile successfully stored.\n\n";
}
exit 0;
Index: openca-browserexp.in
===================================================================
RCS file: /cvsroot/openca/openca-0.9/scripts/openca-browserexp.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** openca-browserexp.in 2001/09/06 09:52:48 1.2
--- openca-browserexp.in 2001/10/11 10:54:52 1.3
***************
*** 12,19 ****
echo -n "Enter the basedir for your CA [@ca_prefix@ ] : "
! read ca_prefix
! if [ "$ca_prefix" = "" ] ; then
! ca_prefix=@ca_prefix@
echo
fi
--- 12,19 ----
echo -n "Enter the basedir for your CA [@ca_prefix@ ] : "
! read ca
! if [ "$ca" = "" ] ; then
! ca=@ca_prefix@
echo
fi
***************
*** 23,27 ****
echo ""
! ls ${ca_prefix}/outbound/certs/*.pem
echo ""
--- 23,33 ----
echo ""
! echo "SERIAL Description"
! cd ${ca}/outbound/certs;
! for i in *.pem ; do
! ser=`echo $i | sed -e "s|.pem||"`
! echo " ${ser} certificate"
! done
! cd -
echo ""
***************
*** 36,47 ****
fi
! key="${ca_prefix}/private/$nser"_key.pem;
! cert="${ca_prefix}/outbound/certs/$nser".pem;
! req="${ca_prefix}/reqs/pending/$nser"_req.pem;
! p12="${ca_prefix}/p12/browser_$nser".p12;
echo "Generating PKCS#12 ($nser) ... "
! ## $ssl/bin/openssl pkcs12 -export -in $cert -inkey $key -out $p12 -certfile ${ca_prefix}/cacert.pem
! ## $ssl/bin/openssl pkcs12 -export -in $cert -inkey $key -out $p12 -certfile ${ca_prefix}/cacert.pem
$openssl pkcs12 -export -in $cert -inkey $key -out $p12
echo "Done."
--- 42,53 ----
fi
! key="$ca/private/$nser"_key.pem;
! cert="$ca/outbound/certs/$nser".pem;
! req="$ca/reqs/pending/$nser"_req.pem;
! p12="$ca/p12/browser_$nser".p12;
echo "Generating PKCS#12 ($nser) ... "
! ## $ssl/bin/openssl pkcs12 -export -in $cert -inkey $key -out $p12 -certfile $ca/cacert.pem
! ## $ssl/bin/openssl pkcs12 -export -in $cert -inkey $key -out $p12 -certfile $ca/cacert.pem
$openssl pkcs12 -export -in $cert -inkey $key -out $p12
echo "Done."
Index: openca-getcert.in
===================================================================
RCS file: /cvsroot/openca/openca-0.9/scripts/openca-getcert.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** openca-getcert.in 2001/09/06 09:52:48 1.2
--- openca-getcert.in 2001/10/11 10:54:52 1.3
***************
*** 15,23 ****
## by your CA ( issued certificates ).
! print "\nGetCert DB - Version $VER\n";
! print "(c) 1999 by OpenCA Core Team\n\n";
print "Enter The OpenCA dir ( @ca_prefix@ ) ? ";
$OPENCA_DIR = <STDIN>;
-
chop($OPENCA_DIR);
--- 15,36 ----
## by your CA ( issued certificates ).
! use OpenCA::@dbmodule@;
! use OpenCA::OpenSSL;
! use OpenCA::REQ;
! use OpenCA::X509;
!
! print "\n"
! print " GetCert DB - Version $VER\n";
! print " (c) 1999/2000 by Massimiliano Pala and OpenCA Group\n";
! print " OpenCA Licensed software\n\n";
!
! my @keys = @ARGV;
!
! my $certSerial = $keys[0];
! my $OPENCA_DIR = ( $keys[1] or $ENV{'ca_prefix'} );
! my $OPENSSL = ( $keys[2] or "@OPENSSL@" or $ENV{'OPENSSL'} );
!
print "Enter The OpenCA dir ( @ca_prefix@ ) ? ";
$OPENCA_DIR = <STDIN>;
chop($OPENCA_DIR);
***************
*** 26,103 ****
}
! print "Enter The Export dir ( $OPENCA_DIR/certs/issued ) ? ";
$EXPORT_DIR = <STDIN>;
chop($EXPORT_DIR);
if( "$EXPORT_DIR" eq "" ) {
! $EXPORT_DIR = "$OPENCA_DIR/certs/issued";
}
! print "Enter The Serial Number ? ";
! $serial = <STDIN>;
! chop($serial);
! $EXPORT_ALL=0;
! if( not $serial ) {
! print "No serial certificate was given,";
! print " do you want to extract all certs (y/N) ? ";
! $tmp= <STDIN>;
! chop($serial);
! if( ( uc("$tmp") eq "N") or (not $tmp)) {
! print "ok, see you.\n\n";
! exit 0;
! };
! $EXPORT_ALL=1;
! }
- $DBM_FILE = "$OPENCA_DIR/stuff/issued_certs";
! dbmopen( %CERT_DB, "$DBM_FILE", undef ) || die "Can't access DB!";
! if( $EXPORT_ALL ) {
! while ( ($key, $value) = each %CERT_DB ) {
! print "Exporting certificate: serial=0x$key, dim=";
! print length($value) ." bytes\n";
! if( ($ret=exportCert($value, $key, $EXPORT_DIR))!= 1 ){
! print "$ret\n\n";
! exit 100;
! }
! }
! }
! else
! {
! $cert = $CERT_DB{$serial};
! if( ! $cert ) {
! print "Error, certificate not present in DB.\n\n";
! exit 101;
! }
! print "Exporting certificate: serial=0x$serial, dim=";
! print length($cert) ." bytes\n";
! if( exportCert( $cert, $serial, $EXPORT_DIR ) != 1 ) {
! print "Error!";
! exit 100;
! }
! }
! dbmclose( %CERT_DB );
- ## Subroutines
! sub exportCert {
! my @keys = @_;
! my $cert = $keys[0];
! my $ser = $keys[1];
! my $dir = $keys[2];
!
! return "INTERNAL: Wrong parameters passed!"
! unless ( $cert and $ser and $dir );
! $fileName = $dir . "/" . $ser . ".der";
! open( FD, ">$fileName" ) || return "ERROR: Cannot access $fileName!";
! print FD "$cert";
! close( FD );
! return 1;
}
--- 39,143 ----
}
! print "Enter The Export dir ( $OPENCA_DIR/outbound/certs ) ? ";
$EXPORT_DIR = <STDIN>;
chop($EXPORT_DIR);
if( "$EXPORT_DIR" eq "" ) {
! $EXPORT_DIR = "$OPENCA_DIR/outbound/certs";
}
! print "Enter the datatype for searching:\n\n";
! print " 1 - Request\n";
! print " 2 - Certificate\n";
! $tmp = <STDIN>;
! chop($tmp);
! if( $tmp eq "1" ) {
! $dataType = "REQUEST";
! } elsif ( $tmp eq "2" ) {
! $dataType = "CERTIFICATE";
! } else {
! print "ERROR: dataType is required!\n\n";
! exit 1;
! }
! print "Enter the Parameter to search onto:\n\n";
! print "1 - Serial\n";
! print "2 - CN\n";
! $tmp = <STDIN>;
! chop($tmp);
! if( $tmp eq "1" ) {
! $par = "SERIAL";
! } elsif ( $tmp eq "2" ) {
! $par = "CN";
! } else {
! print "ERROR: parameter is required!\n\n";
! exit 1;
! }
! print "Enter the Value to search for:\n\n";
! $parVal = <STDIN>;
! chop($parVal);
! if( $parVal eq "" ) {
! print "ERROR: ${par} value is required!\n\n";
! exit 1;
! }
! ## Initialize the crypto shell;
! my $cryptoShell = new OpenCA::OpenSSL( SHELL=>"$OPENSSL" );
+ $cryptoShell->setParams( CONFIG=>"$OPENCA_DIR/conf/openssl/openssl.cnf",
+ TMPDIR=>"$OPENCA_DIR/tmp",
+ STDERR=>"/dev/null" );
! if ( not $cryptoShell ) {
! configError( "Cannot initialize Crypto Shell ($shellPath)!" );
! exit 1;
! }
! ## Initialize the DB support
! my $db = new OpenCA::@dbmodule@( SHELL=>$cryptoShell,
! DB_DIR=>"$OPENCA_DIR/dB" );
! if ( not $db ) {
! configError( "Cannot initialize @dbmodule@ class!" );
! exit 1;
! }
! ## Main Section
! ## ============
!
! my $certFile = "${OPENCA_DIR}/outbound/certs/${certSerial}.pem";
! my $reqFile = "${OPENCA_DIR}/tmp/${certSerial}_req.pem";
!
! my $file;
!
! if( $EXPORT_ALL == 0 ) {
! @searchList = $db->searchItems( DATATYPE=>$dataType,
! $param=>$parVal );
! foreach $item ( @searchList ) {
! if( $item->{DATATYPE} =~ "CERTIFICATE" ) {
! $file = $item->getParsed()->{SERIAL} . ".pem";
! } elsif ( $item->{DATATYPE} =~ "REQUEST" ) {
! $file = $item->getParsed()->{SERIAL};
! if ( $item->getParsed()->{TYPE} =~ "PKCS" ) {
! $file .= "_req.pem";
! } else {
! $file .= "_gen.req"
! }
! }
!
! print "Exporting $file ... ";
! open( FD, ">${EXPORT_DIR}/${file}" )
! print FD $item->{item};
! close( FD );
! print "Ok.\n";
! }
! } else {
! print "Function not Implemented yet.\n\n";
! exit 1;
}
+
+ exit 0;
Index: openca-getitem.in
===================================================================
RCS file: /cvsroot/openca/openca-0.9/scripts/openca-getitem.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** openca-getitem.in 2001/09/06 09:52:48 1.2
--- openca-getitem.in 2001/10/11 10:54:52 1.3
***************
*** 1,11 ****
#! @PERL@
! BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File ) };
!
! $PRG = 'dBs Item Viewer';
! $VER = '0.3.0';
! ## $PRG - Version $VER
! ## (c) 1999/2000 by Massimiliano Pala
## OpenCA Core Developer
##
--- 1,8 ----
#! @PERL@
! $VER = '0.010a';
! ## GetCert DB - Version $VER
! ## (c) 1999 by Massimiliano Pala
## OpenCA Core Developer
##
***************
*** 15,88 ****
## ============
##
! ## This Program let you get an Item from one DB
! print "\n$PRG - Version $VER\n";
! print "(c) 1999/2000 by Massimiliano Pala\n";
! print "OpenCA Core Developer\n\n";
! print "(OpenCA Project)\n\n";
! print "Enter The dBs dir ( @ca_prefix@/dB ) ? ";
! $DIR = <STDIN>;
! chop($DIR);
! if( "$DIR" eq "" ) {
! $DIR = '@ca_prefix@/dB';
}
! print "Enter The dB name ( i.e. requests/certificates/... ) ? ";
! $FILE = <STDIN>;
! chop($FILE);
! if( "$FILE" eq "" ) {
! $FILE = 'requests';
}
! print "Enter The Item INDEX : ";
! $idx = <STDIN>;
! chop($idx);
! $EXPORT_ALL=0;
! if( not $idx ) {
! print "No index was given, do you want to extract all certs (y/N) ? ";
! $tmp= <STDIN>;
! chop($tmp);
! if( ( uc("$tmp") eq "N") or (not $tmp)) {
! print "ok, see you.\n\n";
! exit 0;
! };
- $EXPORT_ALL=1;
- }
! $DBM_FILE = "$DIR/$FILE";
! dbmopen( %DB, "$DBM_FILE", undef ) || die "Can't access DB!";
! if( $EXPORT_ALL ) {
! while ( ($key, $value) = each %DB ) {
! print "Viewing item: ";
! print "( $key ) dim. " . length($value) . " bytes\n\n";
! print "Item DATA:\n";
! print "$value\n\n";
! }
! }
! else
! {
! $value=$DB{$idx};
! if( ! $value ) {
! print "Error, ITEM not present in DB.\n\n";
! exit 101;
! }
- print "Viewing item: ";
- print "( $idx ) dim. " . length($value) . " bytes\n\n";
! print "-----BEGIN ITEM DATA-----\n";
! print "$value";
! print "-----END ITEM DATA-----\n";
}
! dbmclose( %DB );
exit 0;
--- 12,148 ----
## ============
##
! ## This Program let you get a certificate from the DB of the issued
! ## by your CA ( issued certificates ).
! use OpenCA::@dbmodule@;
! use OpenCA::OpenSSL;
! use OpenCA::REQ;
! use OpenCA::X509;
! print "\n";
! print " GetCert DB - Version $VER\n";
! print " (c) 1999/2000 by Massimiliano Pala and OpenCA Group\n";
! print " OpenCA Licensed software\n\n";
! my @keys = @ARGV;
!
! my $certSerial = $keys[0];
! my $OPENCA_DIR = ( $keys[1] or $ENV{'ca_prefix'} );
! my $OPENSSL = ( $keys[2] or "@OPENSSL@" or $ENV{'OPENSSL'} );
!
! print "Enter The OpenCA dir ( @ca_prefix@ ) ? ";
! $OPENCA_DIR = <STDIN>;
! chop($OPENCA_DIR);
!
! if( "$OPENCA_DIR" eq "" ) {
! $OPENCA_DIR = '@ca_prefix@';
}
! print "Enter The Export dir ( $OPENCA_DIR/outbound/certs ) ? ";
! $EXPORT_DIR = <STDIN>;
! chop($EXPORT_DIR);
! if( "$EXPORT_DIR" eq "" ) {
! $EXPORT_DIR = "$OPENCA_DIR/outbound/certs";
! }
! print "Enter the datatype for searching:\n\n";
! print " 1 - Request\n";
! print " 2 - Certificate\n\n";
! print ": ";
! $tmp = <STDIN>;
! chop($tmp);
!
! if( $tmp eq "1" ) {
! $dataType = "REQUEST";
! } elsif ( $tmp eq "2" ) {
! $dataType = "CERTIFICATE";
! } else {
! print "ERROR: dataType is required!\n\n";
! exit 1;
}
! print "Enter the Parameter to search onto:\n\n";
! print "1 - Serial\n";
! print "2 - CN\n\n";
! print ": ";
! $tmp = <STDIN>;
! chop($tmp);
! if( $tmp eq "1" ) {
! $param = "SERIAL";
! } elsif ( $tmp eq "2" ) {
! $param = "CN";
! } else {
! print "ERROR: parameter is required!\n\n";
! exit 1;
! }
! print "Enter the Value to search for:\n\n";
! $parVal = <STDIN>;
! chop($parVal);
! if( $parVal eq "" ) {
! print "ERROR: ${par} value is required!\n\n";
! exit 1;
! }
! ## Initialize the crypto shell;
! my $cryptoShell = new OpenCA::OpenSSL( SHELL=>"$OPENSSL" );
! $cryptoShell->setParams( CONFIG=>"$OPENCA_DIR/conf/openssl/openssl.cnf",
! TMPDIR=>"$OPENCA_DIR/tmp",
! STDERR=>"/dev/null" );
! if ( not $cryptoShell ) {
! configError( "Cannot initialize Crypto Shell ($shellPath)!" );
! exit 1;
! }
!
! ## Initialize the DB support
! my $db = new OpenCA::@dbmodule@( SHELL=>$cryptoShell,
! DB_DIR=>"$OPENCA_DIR/dB" );
! if ( not $db ) {
! configError( "Cannot initialize @dbmodule@ class!" );
! exit 1;
! }
!
! ## Main Section
! ## ============
!
! my $certFile = "${OPENCA_DIR}/outbound/certs/${certSerial}.pem";
! my $reqFile = "${OPENCA_DIR}/tmp/${certSerial}_req.pem";
!
! my $file;
!
! if( $EXPORT_ALL == 0 ) {
! print "\nSearching for $dataType: $param => $parVal\n\n";
! @searchList = $db->searchItems( DATATYPE=>$dataType,
! $param=>$parVal );
! print "Found $#searchList items.\n\n";
! foreach $item ( @searchList ) {
! if( $item->{DATATYPE} =~ "CERTIFICATE" ) {
! $file = $item->getParsed()->{SERIAL} . ".pem";
! } elsif ( $item->{DATATYPE} =~ "REQUEST" ) {
! $file = $item->getParsed()->{SERIAL};
! if ( $item->getParsed()->{TYPE} =~ "PKCS" ) {
! $file .= "_req.pem";
! } else {
! $file .= "_gen.req"
! }
! }
!
! print "Exporting $file ... ";
! open( FD, ">${EXPORT_DIR}/${file}" );
! print FD $item->{item};
! close( FD );
! print "Ok.\n";
}
! } else {
! print "Function not Implemented yet.\n\n";
! exit 1;
! }
exit 0;
Index: openca-newcert.in
===================================================================
RCS file: /cvsroot/openca/openca-0.9/scripts/openca-newcert.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** openca-newcert.in 2001/09/06 09:57:51 1.3
--- openca-newcert.in 2001/10/11 10:54:52 1.4
***************
*** 1,6 ****
#! @SHELL@
- export SERVER_NAME="@baseurl@
-
openssl=@OPENSSL@
--- 1,4 ----
***************
*** 14,34 ****
echo -n "Enter the basedir for your CA [@ca_prefix@ ] : "
! read ca_prefix
! if [ "$ca_prefix" = "" ] ; then
! ca_prefix=@ca_prefix@
fi
! export ca_prefix openssl
! read nser <${ca_prefix}/conf/openssl/serial
! echo -n "Enter the config for your CA [ ${ca_prefix}/conf/openssl/openssl.cnf ] : "
read cnf
!
! if [ "$cnf" = "" ] ; then
! cnf=${ca_prefix}/conf/openssl/openssl.cnf;
echo
fi
echo -n "Enter the Secret Key's Size (default 1024) : "
--- 12,35 ----
echo -n "Enter the basedir for your CA [@ca_prefix@ ] : "
! read ca
! if [ "$ca" = "" ] ; then
! ca=@ca_prefix@
fi
! export ca openssl
! read nser <$ca/conf/openssl/serial
! echo -n "Enter the config for your CA [ $ca/conf/openssl/openssl.cnf ] : "
read cnf
! if [ -z "${cnf}" ] ; then
! cnf=${ca}/conf/openssl/openssl.cnf;
echo
fi
+ if [ ! -f "${cnf}" ] ; then
+ echo "ERROR: ${cnf} does not exists!"
+ exit 1;
+ fi
echo -n "Enter the Secret Key's Size (default 1024) : "
***************
*** 39,92 ****
fi
! tmp="$openssl genrsa -out ${ca_prefix}/private/$nser"_key.pem" $ks";
ret=`$tmp`;
! key="${ca_prefix}/private/$nser"_key.pem;
! cert="${ca_prefix}/outbound/certs/$nser".pem;
! req="${ca_prefix}/tmp/$nser"_req.pem;
echo "Generating request for certificate ($nser) ... "
! $openssl req -config $cnf -new -key $key -out $req
echo "Done."
echo
! echo -n "Importing request into DB ... "
! rc=`@prefix@/bin/openca-addreq $req ${ca_prefix}`;
! echo "Done."
! echo
! echo "Please specify the certificate Type (refer to the conf/openssl/extfiles/"
! echo "file for extensions to be used, defaults are CA Admin, RA Operator,"
! echo "User, VPN Server, Web Server ). Do not specify nothing for\n"
! echo -n "default user certificate : "
! read exts
! echo "Signing the request :"
! if [ "$exts" = "" ] ; then
! $openssl ca -config $cnf -in $req
! else
! if [ "$exts" = "CA Admin" ] ; then
! $exts = "CA\ Admin"
! fi
! if [ "$exts" = "RA Operator" ] ; then
! $exts = "RA\ Operator"
! fi
! if [ "$exts" = "User" ] ; then
! fi
! if [ "$exts" = "VPN Server" ] ; then
! $exts = "VPN\ Server"
! fi
! if [ "$exts" = "Web Server" ] ; then
! $exts = "Web\ Server"
! fi
! $openssl ca -config ${ca_prefix}/conf/openssl/openssl/${exts}.conf -preserveDN -extfile ${ca_prefix}/conf/openssl/extfiles/${exts}.ext -in $req
fi
echo
- ## echo -n "Copying issued certificate to certs/ dir ... "
- ## cp ${ca_prefix}/outbound/certs/* ${ca_prefix}/tmp/ 2>&1 >/dev/null
- ## echo "Done."
- ## echo "($cert)."
## Now we need to update the DB, so let's import the new certificate into
--- 40,121 ----
fi
! tmp="$openssl genrsa -out $ca/private/$nser"_key.pem" $ks";
ret=`$tmp`;
+ if [ $? != 0 ] ; then
+ echo
+ echo "ERROR: cannot generate private key (check write perms)"
+ echo
+ exit 1
+ fi
! key="$ca/private/$nser"_key.pem;
! cert="$ca/outbound/certs/$nser".pem;
! req="$ca/tmp/$nser"_req.pem;
echo "Generating request for certificate ($nser) ... "
! $openssl req -config $cnf -new -key $key -out $req
echo "Done."
echo
! # echo -n "Importing request into DB ... "
! # rc=`@prefix@/bin/openca-addreq ${req} ARCHIVIED_REQUEST ${ca}`;
! # echo "Done."
! # echo
! echo "Available extensions:"
! echo ""
! echo " 1 - User Certificate"
! echo " 2 - Server Certificate"
! echo " 3 - CA Certificate"
! echo ""
! echo -n "Enter Extensions to be used (def. 1) : "
! read tmp
! if [ "$tmp" = "" ] ; then
! tmp=1
! echo
! fi
! case "${tmp}" in
! 1)
! exts=$ca/conf/openssl/extfiles/User_Certificate.ext
! ;;
! 2)
! exts=$ca/conf/openssl/extfiles/Server_Certificate.ext
! ;;
! 3)
! exts=$ca/conf/openssl/extfiles/Certification_Authority.ext
! ;;
! default)
! exts=$ca/conf/openssl/extfiles/User_Certificate.ext
! ;;
! esac
! ## Check if the extensions file exists
! if [ ! -f "${exts}" ] ; then
! echo "ERROR: ${exts} does not exists!"
! exit 1;
! fi
!
! if [ "$tmp" = "2" ] ; then
! echo -n "Enter the Server Name : ";
! read name
! SERVER_NAME=$name
!
fi
+ echo -n "Enter Comment to be used (def. none) : "
+ read tmp
+ if [ -z "${tmp}" ] ; then
+ tmp="";
+ fi
+ COMMENT="$tmp"
+
+ export COMMENT SERVER_NAME
+
+
+ ## Issue the Certificate
+ ${openssl} ca -config ${cnf} -preserveDN -extfile ${exts} -in ${req}
+
echo
## Now we need to update the DB, so let's import the new certificate into
***************
*** 94,104 ****
! echo -n "Importing certificate into DB ... "
! rc=`@prefix@/bin/openca-addcert $nser ${ca_prefix}`;
! echo "Done."
! echo
! echo -n "Cleaning tem files ... "
! rm ${ca_prefix}/tmp/* 2>&1 >/dev/null
echo "Done."
echo "($cert)."
--- 123,131 ----
! ## "Importing certificate into DB ... "
! rc=`@prefix@/bin/openca-addcert $nser $ca`;
! echo -n "Cleaning item files ... "
! rm $ca/tmp/* 2>&1 >/dev/null
echo "Done."
echo "($cert)."
***************
*** 111,115 ****
echo "directory. The corresponding secret keys can be found in:"
echo ""
! echo " ${ca_prefix}/private/"
echo ""
echo "Copy the to the corresponding server's configuration specified dir"
--- 138,142 ----
echo "directory. The corresponding secret keys can be found in:"
echo ""
! echo " $ca/private/"
echo ""
echo "Copy the to the corresponding server's configuration specified dir"
|
|
From: <ope...@li...> - 2001-10-08 16:56:11
|
Update of /cvsroot/openca/openca-0.8/src/cgi-bin/cgi-raserver/sheets In directory usw-pr-cvs1:/tmp/cvs-serv7141 Added Files: pending_crr_reqs.html view_crl.html view_req.html Log Message: Added some missing files into the RAServer sheets/ dir. --- madwolf --- NEW FILE: pending_crr_reqs.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="Massimiliano Pala"> <META NAME="GENERATOR" CONTENT="Mozilla/4.06 [en] (X11; U; Linux 2.0.35 i686) [Netscape]"> <TITLE>CRL ( Certificate Revocation List )</TITLE> </HEAD> <BODY TEXT="#264A8D" BGCOLOR="#FFFFFF" LINK="#FF7000" VLINK="#E15100" ALINK="#FF0000"> <CENTER> <TABLE BORDER=0 CELLSPACING=5 CELLPADDING=5 COLS=1 WIDTH="550" NOSAVE > <TR NOSAVE> <TD NOSAVE> <DIV ALIGN=right><B><FONT FACE="Arial,Helvetica"><FONT SIZE=+1><FONT COLOR="#FF6600">P</FONT><FONT COLOR="#264A8D">ending </FONT><FONT COLOR="#FF6600">R</FONT><FONT COLOR="#264A8D">equests</FONT><FONT COLOR="#FFFFFF">.</FONT></FONT></FONT></B></DIV> <BR> <TABLE BORDER=0 CELLSPACING=5 CELLPADDING=15 COLS=1 WIDTH="100%" NOSAVE > <TR NOSAVE> <TD BGCOLOR="#EEEEF1" NOSAVE><FONT FACE="Arial,Helvetica"> Following you can find the request waiting for alter RA approval. Check here if your request has successfully been received and queued. This list has been updated on <B>$uptime</B>.</FONT> <P><FONT FACE="Arial,Helvetica"> $table</FONT></TD> </TR> </TABLE> </TD> </TR> </TABLE> </CENTER> </BODY> </HTML> |
|
From: <ope...@li...> - 2001-10-07 14:18:31
|
Update of /cvsroot/openca/openca-0.8/src/contrib
In directory usw-pr-cvs1:/tmp/cvs-serv5827/src/contrib
Modified Files:
Makefile.in
Log Message:
Contrib Makefile fixing.
--- madwolf
Index: Makefile.in
===================================================================
RCS file: /cvsroot/openca/openca-0.8/src/contrib/Makefile.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile.in 2001/10/07 14:10:23 1.3
--- Makefile.in 2001/10/07 14:18:28 1.4
***************
*** 96,100 ****
for i in $$p ; do \
m=`$(ECHO) "$$i" | $(SED) -e "s|\.tar\.gz||"` ; \
! v=`$(ECHO) "$$m" | $(SED) -e "s|[a-zA-Z0-9]*(\-|\.)[a-zA-Z0-9]*\-||g"`;\
n=`$(ECHO) "$$m" | $(SED) -e "s|-$$v||g"`; \
$(ECHO) -n "Installing $$n ($$v) module ... " ; \
--- 96,100 ----
for i in $$p ; do \
m=`$(ECHO) "$$i" | $(SED) -e "s|\.tar\.gz||"` ; \
! v=`$(ECHO) "$$m" | $(SED) -e "s|[a-zA-Z0-9]*.[a-zA-Z0-9]*\-||g"`;\
n=`$(ECHO) "$$m" | $(SED) -e "s|-$$v||g"`; \
$(ECHO) -n "Installing $$n ($$v) module ... " ; \
|