{"id":8903,"date":"2026-10-19T14:02:01","date_gmt":"2026-10-19T11:02:01","guid":{"rendered":"https:\/\/support.withsecure.com\/support-articles\/keytool-error-java-lang-exception-keystore-file-does-not-exist-var-opt-f-secure-fspms-data-fspms-ca-jks-on-elements-connector-for-linux\/"},"modified":"2026-10-19T14:02:01","modified_gmt":"2026-10-19T11:02:01","slug":"keytool-error-java-lang-exception-keystore-file-does-not-exist-var-opt-f-secure-fspms-data-fspms-ca-jks-on-elements-connector-for-linux","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/fr\/support-articles\/keytool-error-java-lang-exception-keystore-file-does-not-exist-var-opt-f-secure-fspms-data-fspms-ca-jks-on-elements-connector-for-linux\/","title":{"rendered":"Keytool error: java.lang.Exception: Keystore file does not exist: \/var\/opt\/f-secure\/fspms\/data\/\u200bfspms-ca.jks on Elements Connector for Linux"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>When exporting the self signed \/ self-generated certificate from the Elements Connector key store, I receive the error:\u00a0<\/p>\n<ul>\n<li>keytool error: java.lang.Exception: Keystore file does not exist: \/var\/opt\/f-secure\/fspms\/data\/\u200bfspms-ca.jks<\/li>\n<\/ul>\n<h3>Resolution:<\/h3>\n<div style=\"text-align: start;\">Make sure that you have used the correct command and run it as root:<\/div>\n<div style=\"text-align: start;\">\n<ul>\n<li>\/opt\/f-secure\/fspms\/jre\/bin\/keytool -keystore \/var\/opt\/f-secure\/fspms\/data\/fspms-ca.jks -alias fspm-ca -exportcert -file connector-ca.crt -rfc -protected\u00a0<\/li>\n<\/ul>\n<\/div>\n<div style=\"text-align: start;\">If you have used the correct command and the issue persists, try to reinstall Elements Connector.<\/div>\n<div style=\"text-align: start;\">\u00a0<\/div>\n<div style=\"text-align: start;\">Perform the full uninstallation and reinstall Elements Connector on their Linux server by following the instructions below:<\/p>\n<p>1. Uninstall Elements Connector<br \/>rpm -e f-secure-elements-connector<\/p>\n<p>2. Remove installation directories manually<br \/>rm -rf \/opt\/f-secure \/etc\/opt\/f-secure \/var\/opt\/f-secure<\/p>\n<p>3. Download the installation package from the Elements Security Center portal&#39;s <strong>Management &gt; Downloads <\/strong>page<\/p>\n<p>4. Reinstall Elements Connector<br \/>rpm -i elements-connector.rpm<\/p>\n<p>5. Run the command below to export the certificate from the Connector keystore<br \/>\/opt\/f-secure\/fspms\/jre\/bin\/keytool -keystore \/var\/opt\/f-secure\/fspms\/data\/fspms-ca.jks -alias fspm-ca -exportcert -file connector-ca.crt -rfc -protected<br \/>\u00a0<\/div>\n","protected":false},"excerpt":{"rendered":"<p>When exporting the self signed \/ self-generated certificate from the Elements Connector key store, I receive the error:\u00a0<\/p>\n<p>keytool error: java.lang.Exception: Keystore file does not exist: \/var\/opt\/f-secure\/fspms\/data\/\u200bfspms-ca.jks<\/p>\n","protected":false},"template":"","support_article_product":[99],"class_list":["post-8903","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000006653","source_version":1,"source_system":"salesforce","source_date_updated":"2026-10-19 11:02:01","import_hash":"7a1a51d0491dd70a37fe822c3006e9372331a349","vanilla_article_id":"","vanilla_url":"","vanilla_kb_id":"","vanilla_category_id":"","machine_translated":false,"reactions_helpful_yes":"","reactions_helpful_no":""},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/fr\/wp-json\/wp\/v2\/support_article\/8903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/fr\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/fr\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/fr\/wp-json\/wp\/v2\/media?parent=8903"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/fr\/wp-json\/wp\/v2\/support_article_product?post=8903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}