NAME
App::Phoebe::Iapetus - uploads using the Iapetus protocol
DESCRIPTION
This allows known editors to upload files and pages using the Iapetus protocol. See Iapetus documentation.
In order to be a known editor, you need to set @known_fingerprints
in your config file. Here’s an example:
package App::Phoebe;
our @known_fingerprints;
@known_fingerprints = qw(
sha256$fce75346ccbcf0da647e887271c3d3666ef8c7b181f2a3b22e976ddc8fa38401
sha256$54c0b95dd56aebac1432a3665107d3aec0d4e28fef905020ed6762db49e84ee1);
use App::Phoebe::Iapetus;
The way to do it is to run the following, assuming the certificate is named client-cert.pem:
openssl x509 -in client-cert.pem -noout -sha256 -fingerprint \
| sed -e 's/://g' -e 's/SHA256 Fingerprint=/sha256$/' \
| tr [:upper:] [:lower:]
This should give you the fingerprint in the correct format to add to the list above.
Make sure your main menu has a link to the login page. The login page allows people to pick the right certificate without interrupting their uploads.
=> /login Login