• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Plesk raise 500: No "alpha2" key found matching: PO with type name - ISO3166Country.php - Line 84

hetii

New Pleskian
Hello Sirs.

When I click on "SSL/TLS Certificates" link in domain dashboard, so link like:
https://<mydomain.com>/modules/sslit/index.php/index/proxy?dom_id=3&site_id=3

Plesk raise 500:
No "alpha2" key found matching: PO with type name
ISO3166Country.php
Line 84

Best regards.
 
Have you tried to update DigiSert extension to the latest version or reinstall it?
 
Hi,
If you mean DigiCert SSL extenstion I don't have it so far, now I install it but the error remain.
@IgorG I just add that use latest plesk and all my plugins are updated.

As I check I have such file on my system:

find . -name 'ISO3166Country.php'
./opt/psa/admin/plib/modules/sectigo/library/Helper/ISO3166Country.php
./opt/psa/admin/plib/modules/symantec/library/shared/src/Common/ISO3166Country.php

It seams that ISO3166Country.php from sectigo inherit classes from second file that belong to symantec module.
Now as both files are binary format I can just guessing what is inside.

On other hand I found such library:
where we see collection of country code keys for arrays. Now the error indicate that it expect to see "PO" key and my country code is PL.
So yea ... wonder now from with part or the system this library take PO instead PL.
 
Last edited:
Ok, It seams that I found the reason and solution.

As I prepare my plesk instance by using terraform I call via it
plesk bin init_conf --init ... -country Poland
This argument is mapped to menu option in "My Profile->Contact Details->Country"
The point is in that, in Web UI it is represented by country name not a country code.

We can also read in below link that country code should be used as well if we int it by cli:

Finally after selecting proper country from "My Profile->Contact Details->Country" list the issue is solved ;-)

I also think that init_conf should have implemented some validation mechanism and don't allow to set unknow country codes or names.
 
Last edited:
Back
Top