Skip to main content
Support

KB Article #179843

The vatest getconf command reports Error 255: Unidentified error.

Problem

Running vatest getconfig results in an error similar to the following:

C:\Program Files\Axway\VA\tools>vatest getconf -url http://localhost:8000
OCSP host: localhost
OCSP port: 8000
OCSP certificates: E: [2018-10-24 22:39:14 GMT] fopen returned 0 (). src\getconfig.cpp (390)
E: [2018-10-24 22:39:14 GMT] certStoreToFile returned 255 (). src\getconfig.cpp(173)
Error 255: Unidentified error.


Resolution

The vatest getconfig command attempts to write the downloaded certificates to the current directory. This error occurs when the current directory is not writeable. It is very common for the /Axway/VA/tools directory which contains the vatest program to be non-writeable, so it must be executed from another directory. One way to do that is to add the /Axway/VA/tools directory to your path and then to call it from a directory that you have write access to, like your home directory or desktop. For example, here is a successful call after I added C:\Program Files\Axway\VA\tools to my path:


C:\Users\xxx\Desktop>vatest getconf -url http://localhost:8000
OCSP host: localhost
OCSP port: 8000
OCSP certificates: ocspcerts.pem
SSL host: not found
SSL port: not found
SSL certificates: not found