Insee : FTPs et certificats

This commit is contained in:
Michael RICOIS 2015-11-24 15:25:53 +00:00
parent 2b2cf2e434
commit 8a9114beef
7 changed files with 246 additions and 0 deletions

View File

@ -0,0 +1,39 @@
-----BEGIN CERTIFICATE-----
MIIG0jCCBbqgAwIBAgIKYReHngAAAAAABTANBgkqhkiG9w0BAQUFADBKMQswCQYD
VQQGEwJGUjEOMAwGA1UEChMFSU5TRUUxETAPBgNVBAsTCFNlcnZpY2VzMRgwFgYD
VQQDEw9BQyBSYWNpbmUgSU5TRUUwHhcNMTIwMzA4MTUxMDAyWhcNMTkwMzA4MTUy
MDAyWjBQMQswCQYDVQQGEwJGUjEOMAwGA1UEChMFSU5TRUUxETAPBgNVBAsTCFNl
cnZpY2VzMR4wHAYDVQQDExVBQyBJbmZvcm1hdGlxdWUgSU5TRUUwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpgSzXNuQpuiWq4hoM/FeZzmzP+vTCJAVg
ztgoiuuM4YCJRky7HaOBVip6DkwdMPjc8+wlZRa4V3IOouBPFcWVLU6PtZxMlPh9
YF0/RwHl70NGZRhIZxIMC9cTxvsZk/QjwIzOnEgnS+AR2p0AIst2DyIRM9+DGh1W
cuxCn9QIlVeXmeGVnbr3SvxILAhT8PdGzFJJzfW6N0OSJLMKd163M5REZ90cMsFh
6K/i1/c9oqw1xpVtvjNNhBn/lDgkA2mOgkVNoqUW0dl44gBVXUb/ZKHAg7LxzrXQ
SLfS3DiOxU1Q5jr+QBKibV0y8jaKWRf9kYREsBXSU3sKoNz3FmAHAgMBAAGjggOy
MIIDrjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSeOj6C5K+J5n2mj+5mJsuX
Y8asPTALBgNVHQ8EBAMCAYYwEAYJKwYBBAGCNxUBBAMCAQEwIwYJKwYBBAGCNxUC
BBYEFOJPGHMDJqxA5JkJyxkbue6AIH7NMGEGA1UdIARaMFgwVgYJKoF6AT0DAgIB
MEkwRwYIKwYBBQU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tbFwkOgpGPeDIdkeXlWsnJEzsG3ruXUogL+7PjyMye7qCcRQ
ax8GI6Qs920R9bLfsYJo7a4eTsWu0rJBIFpQ2Naw3XPzJqj0dnWA2Jn/CzPGg6rZ
X/8Nhn6E5GmGTu/BG9tfGKu6C/ThUiTPA54ZU/xfD+agpe77L1t82QGJNYprJBv/
+sBVrG2b3xjfYodAS46+nlauGR0qOYHWgqrK4EQWeDIyDL9Is1r/q6LADnAqCHWC
Evcb52L86ygjuA4UyBZDyfdcETv6SFuz2hoVX2roVtVZd/qldyKM1+HhFYLMCQ==
-----END CERTIFICATE-----

53
certs/ca.pem Normal file
View File

@ -0,0 +1,53 @@
Bag Attributes: <No Attributes>
subject=/C=BE/O=GlobalSign nv-sa/CN=GlobalSign Organization Validation CA - SHA256 - G2
issuer=/C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA
-----BEGIN CERTIFICATE-----
MIIEaTCCA1GgAwIBAgILBAAAAAABRE7wQkcwDQYJKoZIhvcNAQELBQAwVzELMAkG
A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw0xNDAyMjAxMDAw
MDBaFw0yNDAyMjAxMDAwMDBaMGYxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
YWxTaWduIG52LXNhMTwwOgYDVQQDEzNHbG9iYWxTaWduIE9yZ2FuaXphdGlvbiBW
YWxpZGF0aW9uIENBIC0gU0hBMjU2IC0gRzIwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQDHDmw/I5N/zHClnSDDDlM/fsBOwphJykfVI+8DNIV0yKMCLkZc
C33JiJ1Pi/D4nGyMVTXbv/Kz6vvjVudKRtkTIso21ZvBqOOWQ5PyDLzm+ebomchj
SHh/VzZpGhkdWtHUfcKc1H/hgBKueuqI6lfYygoKOhJJ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vGn9LhJIZJrglfCm7ymP
AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad
DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME
HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==
-----END CERTIFICATE-----

37
certs/client.pem Normal file
View File

@ -0,0 +1,37 @@
Bag Attributes
localKeyID: ED AA B2 3A 20 AA 86 21 67 C2 E2 88 B3 D5 B7 E3 9A 9B C4 3C
subject=/C=FR/ST=YVELINES/L=RAMBOUILLET/O=SCORES ET DECISIONS SAS/CN=*.scores-decisions.com
issuer=/C=BE/O=GlobalSign nv-sa/CN=GlobalSign Organization Validation CA - SHA256 - G2
-----BEGIN CERTIFICATE-----
MIIFuDCCBKCgAwIBAgISESGOWzBz++hHwby6tAnQ5F0EMA0GCSqGSIb3DQEBCwUA
MGYxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTwwOgYD
VQQDEzNHbG9iYWxTaWduIE9yZ2FuaXphdGlvbiBWYWxpZGF0aW9uIENBIC0gU0hB
MjU2IC0gRzIwHhcNMTUxMTAzMTM1MzEzWhcNMTgxMTAzMTM1MzEzWjB5MQswCQYD
VQQGEwJGUjERMA8GA1UECBMIWVZFTElORVMxFDASBgNVBAcTC1JBTUJPVUlMTEVU
MSAwHgYDVQQKExdTQ09SRVMgRVQgREVDSVNJT05TIFNBUzEfMB0GA1UEAwwWKi5z
Y29yZXMtZGVjaXNpb25zLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAMXYu4RI/JZxelXJS6IoxfDH3AOcxYWRfWe2BZ+nsOoXPA8rEWHwUf9xk2pV
Q/+j21BWhzqn4t3BvOk/2oq0okI+UqTbad1essi5cdluMYLtX+kZTBuJ9sFkdQNT
4K4/lmPdef/t7WZ9rN7AcbTDC+L0AzU11QuDNPnHdehUP1ytU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bPpaKfMh5i03Ad98Erqg1uPsBv8FXGDJVlUWAIySx
qGIS/u/S5+YQyr0c8eyv6nH3IWs4bIORvTbw0/ZiPfZPadEGmG+UOgv2trXRuN3F
e/xMUmaXASqU1Iucmu1ai14Ao481ENBKNb+BaWHsaZTXd3NRAQ9N1wUCCWfREkqq
G6mOOAZ0qJLo+e2BHAmpv+FlwCjfTohzGsxayFbo3zuRzYh9RwUVijARidb/CRCY
B9y16HDVJLxAAQAvjPdtfweX3jytl9GPHaUkyw==
-----END CERTIFICATE-----

31
certs/key.pem Normal file
View File

@ -0,0 +1,31 @@
Bag Attributes
localKeyID: ED AA B2 3A 20 AA 86 21 67 C2 E2 88 B3 D5 B7 E3 9A 9B C4 3C
Key Attributes: <No Attributes>
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDF2LuESPyWcXpV
yUuiKMXwx9wDnMWFkX1ntgWfp7DqFzwPKxFh8FH/cZNqVUP/o9tQVoc6p+Ldwbzp
P9qKtKJCPlKk22ndXrLIuXHZbjGC7V/pGUwbifbBZHUDU+CuP5Zj3Xn/7e1mfaze
wHG0wwvi9AM1NdULgzT5x3XoVD9crVCL/ItVbXKnOEks1UPV0HcUD0h0ibHhsqqb
N6uAJZO6zDSY4mue5ZUqPW9Nt5I6GG6EWZ3QJwRjjgD7HqJ5ph57cK0iQ8Dj81bf
oHwB+SNBYBC3KxLVWLmySzSDmZtAmsmQR6ip/j7/8ppA2SW3i3QDyByETPOu4v6e
hQU/sJfLAgMBAAECggEAYe9D+1qJtgrcLMTk7JNUUDkOfrdGyzRWqFTg+cPvfiEc
OMHv69QjMthMyZEFhPDeaik67V0Xnv/8/FUAYDLEMxhYnoSCJfNveo7ZfXDfj1jj
ZiaAlw03GUoZ5hjKGlcdobeLYZWsM1S4ktceMgVux9xUDi3klLtRKOeERQoXB09g
thY0mRta6IDITmWxciS4twFysqY7i7Y96EbfTmvi9Xnhbh1j3ugCE5UROLF42Zrl
qRWJ4BTbKI8VjclZAPEg4lSWCq/G/J1zGVn2HuDybtHmV93CIrNswNpEWaGZ/tn3
T3HajtoKE93L3/Mar78vhU9rFvXl9AEO9lOUI2feMQKBgQDmdf0BlVl6fafSCdNd
LNgHYJ9Ojzqn30RQmwI06+atPc2ZhQffmmMhCWt1biOXzAbNdNkcjZOi7b37YuDI
V8LuKHt7fUcAnBzGUGpBXky1pPs0gRT3rQbQi6yeODhl1QBvg/wFOQSgcXi9Zc4D
h7/+NxFhEb3DsExOq8rjY7W82QKBgQDbxYAOtR4P6ogOCCNCMSH0DBYe773UqD5g
MwGtHPnRPf35p3oJfnhEIwlZuvD++YZm2NJqmXHXTATEHTfC/jG9WE3pjEHvriUN
pSow8ThmkuHlT82Z7UHnWXZvT/8Zh3GNfugbKWmayQezunv/PtQfZPvbPQRtrl+9
pPJYibKjQwKBgCLJ6tBjYCd6cmvlac+l5lJuxn2QZ3VR4bkdPR8KAT9jlfa3uzGI
16/0ARGv95WBigFXwzJpOMEejFA3Y+E6RkW3PLSue5pe9oUFPJTzjDbbWcRaO/UL
XHz8qKkVqYXNuowa619KdSVXG7fTd17XDids3qW9jNzObyZtDmp28cc5AoGBANo0
mFcCAV0wMfIspkVcXyfesD/7LXHtsjD1s95b/LaCZJ7yaDrw9RxB5VDQSeP/gDCx
awooXF21vq2xjOHwXRZwjLssZXNCZsvLh76cYrGFeQCjYbJJXbwEmZEfzltcnaQt
sur1DUOAAkOzDtZ5XUfmjiI5zSHRloHHOlAqN9HdAoGAed3JgR/GHVn4lWElpQ3M
FiD1tdxbEmX09XVC7jTfhZyzb+B9ppWgQGFVOspVQY47HKh9WnWtDgakqGWOU//B
aohiyPHpqSgIS9KCnJ+61ziBov5QXnF3bp7PWKgp40CKHPAM7ggs0WPD+A9RqH50
JyEft1ElwKwCsbrEYq1tZ8w=
-----END PRIVATE KEY-----

19
insee.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
BASEPATH="/home/scores/batch"
STORAGE="/home/data/sources/insee/ftps/"
URL="ftp://192.168.3.202/"
OPTION="--user mpc2500:passmpc78"
#URL="ftp://81.255.68.110:21/download/"
#OPTION="-k --ssl --disable-epsv --user client_syracuse23:cLiEnT_SYRAcuse23*37654 --cacert ${BASEPATH}/certs/ca.pem --cert ${BASEPATH}/certs/client.pem --key ${BASEPATH}/certs/key.pem"
# --- Execution de la récupération des fichiers
curl -s ${OPTION} ${URL} | grep -e '^-' | awk '{ print $9 }' | while read f; do
cd ${STORAGE}
if [[ ! -e $f || -s $f ]]; then
echo ${URL}$f;
# curl ${OPTION} -O ${URL}$f
fi
done