1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-16 12:45:41 +02:00

[303717] [dstore][ssl] problem accepting certificate chain

This commit is contained in:
David McKnight 2010-02-24 04:14:10 +00:00
parent a07302c69b
commit 55983d89bc

View file

@ -1,5 +1,5 @@
/******************************************************************************** /********************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. * Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.
* This program and the accompanying materials are made available under the terms * This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is * of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html * available at http://www.eclipse.org/legal/epl-v10.html
@ -12,6 +12,7 @@
* *
* Contributors: * Contributors:
* Martin Oberhuber (Wind River) - [168870] refactor org.eclipse.rse.core package of the UI plugin * Martin Oberhuber (Wind River) - [168870] refactor org.eclipse.rse.core package of the UI plugin
* David Dykstal (IBM) - [303717] [dstore][ssl] problem accepting certificate chain
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.internal.dstore.security.wizards; package org.eclipse.rse.internal.dstore.security.wizards;
@ -115,7 +116,7 @@ public class SystemImportCertWizard
if (cert != null) if (cert != null)
{ {
String alias = _aliasPage.getAlias(); String alias = _aliasPage.getAlias();
alias = alias + "." + Integer.toString(i + 1); // NEW LINE //$NON-NLS-1$
try try
{ {
KeyStore ks = DStoreKeyStore.getKeyStore(_provider.getKeyStorePath(), _provider.getKeyStorePassword()); KeyStore ks = DStoreKeyStore.getKeyStore(_provider.getKeyStorePath(), _provider.getKeyStorePassword());