5.4 Registration of b+ certificates in property files
In TicketBAI submission scenarios, the Integration Directory ICO object is referenced in its receiver channel by a path to a properties file, e.g. for LROE submission it is:
"G:realtech "bbai "config" LROE.properties".
In this properties file, reference is made to the different modules that make up the TicketBAI solution, modification of the input file, sending to the regional agency, etc. To register a new certificate in the properties files, we must add a new entry, referring to the Alias we have entered in the manager ()(see section Certificate Registration).
In the example we can see that in the properties file we currently have the following data, check lines 35-45:
The highlighted lines tell the system how to create an internal matrix of the type:
Index | Key | Value |
0 | A82097620 | 1024_CCP |
1 | B12123094 | 0256_SOCIEDAD |
A company whose Alias is 1024_CCP and another 0256_COMPANION, so that the module knows which of the two aliases to call at run time, a search is made through the field "holderNif" (line41).
For example: For the CIF A82097620the Alias to search for in the certificate manager is 1024_CCP.
If we wanted to add a new company whose alias in the certificate manager is "0001_TEST" and the CIF B74324088 we would have to make a new entry in the table, matching it with the corresponding NIF, theoretically the entry would be like this:
Index | Key | Value |
0 | A82097620 | 1024_CCP |
1 | B12123094 | 0256_SOCIEDAD |
2 | NIF_EJEMPLO | ALIAS_NUEVO |
The table would therefore be as follows:
Index | Key | Value |
0 | A82097620 | 1024_CCP |
1 | B12123094 | 0256_SOCIEDAD |
2 | B74324088 | 0001_TEST |
The file would look like this:
restcall.certificate_name[0]=A82097620
restcall.certificate_name[1]=B12123094
restcall.certificate_name[2]= B74324088
wscall.certificate_value[0]=1024_CCP
wscall.certificate_value[1]=0256_SOCIEDAD
wscall.certificate_value[2]= 0001_TEST
Note: it is very important to increase the rate
Avvale 2024