From 674df3aa9e4a02ac9f4bb88402f19aacc9318ce4 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Fri, 19 Oct 2018 12:54:00 +0200 Subject: [PATCH] Re-generated test key material using RSA key algorithm --- .../src/test/resources/test-ssl.txt | 47 ++++++++++++++++++ .../src/test/resources/test.keystore | Bin 1344 -> 2243 bytes 2 files changed, 47 insertions(+) create mode 100644 httpclient5-testing/src/test/resources/test-ssl.txt diff --git a/httpclient5-testing/src/test/resources/test-ssl.txt b/httpclient5-testing/src/test/resources/test-ssl.txt new file mode 100644 index 000000000..ab6996f33 --- /dev/null +++ b/httpclient5-testing/src/test/resources/test-ssl.txt @@ -0,0 +1,47 @@ +# ==================================================================== +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ==================================================================== +# +# This software consists of voluntary contributions made by many +# individuals on behalf of the Apache Software Foundation. For more +# information on the Apache Software Foundation, please see +# . + +== generate test key store with a self signed key + +--- +keytool -genkey \ + -keystore test.keystore -storepass nopassword \ + -keyalg RSA -keysize 2048 \ + -alias simple-http-server \ + -validity 100000 \ + -dname "CN=localhost, OU=Apache HttpComponents, O=Apache Software Foundation" \ + -ext SAN="DNS:localhost" +--- + +== generate test key store with a self signed key protected with a key password + +--- +keytool -genkey \ + -keystore test-keypasswd.keystore -storepass nopassword \ + -keyalg RSA -keysize 2048 -keypass password \ + -alias simple-http-server \ + -validity 100000 \ + -dname "CN=localhost, OU=Apache HttpComponents, O=Apache Software Foundation" \ + -ext SAN="DNS:localhost" +--- diff --git a/httpclient5-testing/src/test/resources/test.keystore b/httpclient5-testing/src/test/resources/test.keystore index 917f83ea7d47dad1a41fe46ff2582cdc4fcd4dd7..f8d5ace1ad25f92675c2b94caeec3c117f857fb8 100644 GIT binary patch delta 2054 zcmV+h2>JKG3d0eQCx2#(@1INn00jduf&~9C4h9M<1_1;CDgqG!0R;dAf&}Z{E`U|V zyW3(Ow*1ry?KY+FRe!G5^$keM7k0~|@vf0} zx1_||u^ytQi;4Yx!8?Xjz(nXlEXEm+oU~D)ij^{E&FXDrysjZcK!5jl;)y&^?Q}B9 zjATAWItY?_J}acEtzw?MgkwDzNnqQtyW^xf z`nx5ALS@yCdw+NwIOcZ};ZD5(^%zte!992~CQ{WY0ikt}&}{u%ymsyhK|$ZLGy?6c zoy=Dm3^j@psj!Fv%jDfI4I|!;nCbS9lhi!Uq=GuxKA(^5)g;Xp*MD;_6pc15QbOwwvvS*w@zx}V zw4~%ut3m_EX*S&&u#*G7G95C7T}wpJVy0Kb2V+*&bFxMPxwvrMt8RT1A5?zv(ky-t zF}F5!O$3%FMqc$}YCQcX_&AVh=`7lmeK;Y7ROf%cysH8mVZ)7}NBsSyL+(efe+$B? zwBHyJn13LS+Kz`!*pG+s`Um@|7CeWV&!5kFpT1C#4qU!SS6jlgNQc0HBW%`}@beqK zH$u9NZ(xO_LyS(Nv&_OYRem|FJB%amY#>t|l<0!Jl(Hme9yjNk_wQK^4E6OvgsVC# zLVG>G5bl5W`RD$pS7)DSeS>Y&vs%!ggEsMM7JmcM4eG~G=^ENzCZ@DHmdtH%q`XFd zBNeWz`e%J8$G6dL#KfS@L4Ts4xkLnl=pv0VW<9-w^r7RN+i0oE6!d8Q8Nvs&!v;A+ z@XC~D!R}MWp2aE3Y+tap=|?sjlj(k-r`m%wt(n)#bY5ri07j<#f)r5JRf-pKuhtgw zwtstlWTu^{W)2TTC_7ZCtXjV^Jq%!Adu;UT8Xisf^2`B87~1Wbumc~NN|qR-;55YB zsbZr}#`zFQCJ+Mt$0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