From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 09:43:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5101D1065678 for ; Fri, 10 Oct 2008 09:43:59 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 992E08FC13 for ; Fri, 10 Oct 2008 09:43:58 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m9A9hoxr001530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 10 Oct 2008 16:43:50 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m9A9huxu063783; Fri, 10 Oct 2008 16:43:56 +0700 (ICT) Date: Fri, 10 Oct 2008 16:43:56 +0700 (ICT) Message-Id: <200810100943.m9A9huxu063783@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Converting RSA to PKSC#15 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 09:43:59 -0000 Hi, I would like to install my own certificates for several APC UPS. I already generated the key file and the csr, got the csr signed and get a crt. But APC wants a file in format PKSC#15 that is bundled containing the key and the crt (and the ca ?). Anyway, they (APC) provide the tool to build the bundled file, provided that the key comes in pksc#15 format. I could start the generation of key and csr again, but then I would have to get these new csr signed by the ca, which I would prefer to avoid. So is there a way, having the rsa key file to convert it into a pksc#15 file? Best regards Olivier