• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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