Product Documentation

I am able to ping and register a user per REST with skfsclient. I'm trying to implement a web application with Angular accessing SKFS via REST...
SKFS and the web application are both on the same VM. When trying to send a POST request from the Angular web application, the following error occurs:

Chrome: ERR_CERT_AUTHORITY_INVALID
Firefox: CORS Missing Allow Origin

 

First, try adding a CORS extension to Chrome. This should allow cross-origin requests.

Second, try setting the accesscontrolalloworigin property in SKFS. This can be done by editing the following file on the SKFS instance:

/usr/local/strongkey/appliance/etc/appliance-configuration.properties

Add the following line using a value of the origin of your Angular application:

applicance.cfg.property.accesscontrolalloworigins=