Ero sivun ”Tekniikka/Digivirasto” versioiden välillä

Kohteesta DigiWiki
Siirry navigaatioon Siirry hakuun
Rivi 1: Rivi 1:
[[Väestörekisterikeskus]]  
+
[[Digivirasto]]  
  
 +
 +
== Henkilön tiedot ==
 +
 +
Haut kannattaa tehdä [[SATU]]-tunnuksella jos mahdollista sillä se on täysin yksilöivä ja pysyy aina samana vaikka henkilön kortti vaihtuisikin uudempaan.
 +
 +
Common Name (CN) haku SATU-tunnuksella:
 +
$ ldapsearch -x -h ldap.fineid.fi -b dmdName=fineid,c=fi serialNumber=10000350X cn
 +
cn: TUOMALA JUHA 10000350X
 +
 +
SATU-tunnuksen haku etu- ja sukunimen perusteella, poiskytketyllä määrärajoitteella:
 +
$ ldapsearch -x -h ldap.fineid.fi -LLL -b dmdName=fineid,c=fi -z 0  givenname=Juha sn=Tuomala serialnumber |grep serial | sort -n
 +
Size limit exceeded (4)
 +
serialnumber: 00900498163
 +
serialnumber: 113777539
 +
serialnumber: 120026198
 +
serialnumber: 120599377
 +
serialnumber: 12336318R
 +
serialnumber: 12483472M
 +
serialnumber: 125401831
 +
serialnumber: 126213776
 +
serialnumber: 12728797B
 +
serialnumber: 127433250
 +
serialnumber: 128405476
 +
serialnumber: 12843729U
 +
serialnumber: 129961023
 +
serialnumber: 13055079K
 +
serialnumber: 132177567
 +
serialnumber: 13299151V
 +
serialnumber: 134080901
 +
serialnumber: 137797480
 +
serialnumber: 13958023T
 +
serialnumber: 14119990J
 +
serialnumber: 14145318K
 +
serialnumber: 14203888X
 +
serialnumber: 14220740J
 +
serialnumber: 143368800
 +
serialnumber: 14528602K
 +
serialnumber: 150814435
 +
serialnumber: 15145532J
 +
serialnumber: 15291511J
 +
serialnumber: 15389218C
 +
serialnumber: 91100093N
 +
$
 +
 +
Käyttäjän varmenteen haku SATU-tunnuksella:
 +
$ ldapsearch -x -h ldap.fineid.fi  -b dmdName=fineid,c=fi  serialnumber=10000350X usercertificate                   
 +
# extended LDIF
 +
#
 +
# LDAPv3
 +
# base <dmdName=fineid,c=fi> with scope subtree
 +
# filter: serialnumber=10000350X
 +
# requesting: usercertificate
 +
#
 +
 +
# 1002703297, VRK Gov. CA for Citizen Qualified Certificates - G2, Valtion kans
 +
  alaisvarmenteet, Vaestorekisterikeskus CA, FINEID, FI
 +
dn: certificateSerialNumber=1002703297,cn=VRK Gov. CA for Citizen Qualified Ce
 +
  rtificates - G2,ou=Valtion kansalaisvarmenteet,o=Vaestorekisterikeskus CA,dmd
 +
  Name=FINEID,c=FI
 +
usercertificate;binary:: MIIHMjCCBRqgAwIBAgIEO8QJwTANBgkqhkiG9w0BAQsFADCBlDELM
 +
AkGA1UEBhMCRkkxITAfBgNVBAoTGFZhZXN0b3Jla2lzdGVyaWtlc2t1cyBDQTEkMCIGA1UECxMbVm
 +
FsdGlvbiBrYW5zYWxhaXN2YXJtZW50ZWV0MTwwOgYDVQQDEzNWUksgR292LiBDQSBmb3IgQ2l0aXp
 +
lbiBRdWFsaWZpZWQgQ2VydGlmaWNhdGVzIC0gRzIwHhcNMTYwNjE0MDkxMzAxWhcNMjEwNjEzMjA1
 +
OTU5WjBjMQswCQYDVQQGEwJGSTESMBAGA1UEBRMJMTAwMDAzNTBYMQ0wCwYDVQQqEwRKVUhBMRAwD
 +
gYDVQQEEwdUVU9NQUxBMR8wHQYDVQQDExZUVU9NQUxBIEpVSEEgMTAwMDAzNTBYMIIBIjANBgkqhk
 +
iG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs46ymqJIS49++jTDWAqhqpvOTsGPfuM6fkNS4qio1y2r6fb
 +
kLnMd/+tSPyER3r81mDmOUO0+N5ytAJYQW73ZyMmbhDD3wgU8JJ0L4HdNlaDrlDk1+SegvfkpTiG/
 +
J1IKr1FcozB3L3mbz3REArJf+gNqPjl72n1htQuyJmP5P9GQnQEovy9C5Fs0Q5EyMRx6lloLyZ55B
 +
rnBSRAa1FNSKFTaD0lLSSdsXkh/xyj5/mxDOce/HtM7JOCZs1odf7PVvZ69dOW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 +
uY3J0MA0GCSqGSIb3DQEBCwUAA4ICAQBbZIjniOVftnKZ0/hvIdVRH9iM2FMVlcAMEja7nN3ji8zv
 +
CgMPD++TFmIsnR4HhapBsgIKbDBaGqhTuIqZdezYcVImE32wGY+YkQqEKrCI+uB8+p7SsvMnl/eGk
 +
C8q+lDCm5JzqX+ifR8G4Pgoznj5io+loarR2uR+pqm4BybP2bTNPMYwLPyKc36MnBZ9aQxtzfgjsH
 +
gjsA/L3vI93Dn4DlOrfE5VN8+jJOINXh31xm8W/WJVBHTHA3FW2tgSLJtw7SIpofMNBoU6f/u/xdo
 +
0fSKvA5p30oooAPFAQa3Fb9oAOdWVTbX/dT4sQ3HPvmxjsGeX36QYwkbb/FfEn4So3OH5D1zRmWw/
 +
Q0vWYCS2YcWJY8sQvLhNcwI3ztu5/h7GAGvSuwsPtBgczHM6Db+MUogDmmTQrdKMlYWvCsVEd2Ugf
 +
FNcPfM/FJ22pAaTPGhQEI5kVKrx7Zy88mVZnG8+5+TXHwKZK9zCTder4TrS6moOWt74vSoxrbUhw4
 +
EBMlOeLRsd1jbPTxs18hJGu0iKub6X2IgDVtmIiQClOj5VKv+0Pcz6Jc5DLNhTgYwMVbXOHwge7tj
 +
3ja89p7Sa/nfud29CF9OJBSi2KxyvbBJ42ckAdcNDoe/zis/v6aDHqaP/hqSRGLTmrEpaFVeuakkB
 +
GUKqVbkcaEiw8YkWh9S1qQ==
 +
 +
# search result
 +
search: 2
 +
result: 0 Success
 +
 +
# numResponses: 2
 +
# numEntries: 1
  
  
 
== Sulkulista ==
 
== Sulkulista ==
  ldapsearch -x -h ldap.fineid.fi -b dmdName=fineid,c=fi certificaterevocationlist
+
  $ ldapsearch -x -h ldap.fineid.fi -b dmdName=fineid,c=fi certificaterevocationlist
  
 
* http://proxy.fineid.fi/crl/vrkcqcc.crl ?
 
* http://proxy.fineid.fi/crl/vrkcqcc.crl ?

Versio 26. maaliskuuta 2020 kello 09.43

Digivirasto


Henkilön tiedot

Haut kannattaa tehdä SATU-tunnuksella jos mahdollista sillä se on täysin yksilöivä ja pysyy aina samana vaikka henkilön kortti vaihtuisikin uudempaan.

Common Name (CN) haku SATU-tunnuksella:

$ ldapsearch -x -h ldap.fineid.fi -b dmdName=fineid,c=fi serialNumber=10000350X cn
cn: TUOMALA JUHA 10000350X

SATU-tunnuksen haku etu- ja sukunimen perusteella, poiskytketyllä määrärajoitteella:

$ ldapsearch -x -h ldap.fineid.fi -LLL -b dmdName=fineid,c=fi -z 0  givenname=Juha sn=Tuomala serialnumber |grep serial | sort -n

Size limit exceeded (4) serialnumber: 00900498163 serialnumber: 113777539 serialnumber: 120026198 serialnumber: 120599377 serialnumber: 12336318R serialnumber: 12483472M serialnumber: 125401831 serialnumber: 126213776 serialnumber: 12728797B serialnumber: 127433250 serialnumber: 128405476 serialnumber: 12843729U serialnumber: 129961023 serialnumber: 13055079K serialnumber: 132177567 serialnumber: 13299151V serialnumber: 134080901 serialnumber: 137797480 serialnumber: 13958023T serialnumber: 14119990J serialnumber: 14145318K serialnumber: 14203888X serialnumber: 14220740J serialnumber: 143368800 serialnumber: 14528602K serialnumber: 150814435 serialnumber: 15145532J serialnumber: 15291511J serialnumber: 15389218C serialnumber: 91100093N

$

Käyttäjän varmenteen haku SATU-tunnuksella:

$ ldapsearch -x -h ldap.fineid.fi  -b dmdName=fineid,c=fi   serialnumber=10000350X usercertificate                     
# extended LDIF
#
# LDAPv3
# base <dmdName=fineid,c=fi> with scope subtree
# filter: serialnumber=10000350X
# requesting: usercertificate 
#

# 1002703297, VRK Gov. CA for Citizen Qualified Certificates - G2, Valtion kans
 alaisvarmenteet, Vaestorekisterikeskus CA, FINEID, FI
dn: certificateSerialNumber=1002703297,cn=VRK Gov. CA for Citizen Qualified Ce
 rtificates - G2,ou=Valtion kansalaisvarmenteet,o=Vaestorekisterikeskus CA,dmd
 Name=FINEID,c=FI
usercertificate;binary:: MIIHMjCCBRqgAwIBAgIEO8QJwTANBgkqhkiG9w0BAQsFADCBlDEL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NcwI3ztu5/h7GAGvSuwsPtBgczHM6Db+MUogDmmTQrdKMlYWvCsVEd2Ugf
FNcPfM/FJ22pAaTPGhQEI5kVKrx7Zy88mVZnG8+5+TXHwKZK9zCTder4TrS6moOWt74vSoxrbUhw4
EBMlOeLRsd1jbPTxs18hJGu0iKub6X2IgDVtmIiQClOj5VKv+0Pcz6Jc5DLNhTgYwMVbXOHwge7tj
3ja89p7Sa/nfud29CF9OJBSi2KxyvbBJ42ckAdcNDoe/zis/v6aDHqaP/hqSRGLTmrEpaFVeuakkB
GUKqVbkcaEiw8YkWh9S1qQ==

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


Sulkulista

$ ldapsearch -x -h ldap.fineid.fi -b dmdName=fineid,c=fi certificaterevocationlist

Katso myös

Aiheesta muualla