這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

S/MIME Email Signing

外掛說明

This plugin is for signing all outbound emails with an S/MIME certificate.

It uses phpmailer to automatically sign emails. Here are the prerequisites to use this plugin:
* This plugin is for single-user WordPress site, such as a personal blog. I don’t know what will happen if you put it in a multi-user site.
* PHP 8.3 and above are recommended. Make sure your PHP has openssl extension, which is usually installed by default.
* You should use another plugin, such as FluentSMTP, to send emails through an external SMTP server.

螢幕擷圖

安裝方式

Get a S/MIME certificate

You can go to Actalis to apply for a free S/MIME certificate for one year.

After applying, you can download a p12 certificate file, which contains public key, private key, and certificate chain.

The password to the p12 file will be sent to your email.

Split the p12 file

In case the p12 file is named “smime.p12”, do the following commmands to split it into seperated keys.

  • Export the private key: openssl pkcs12 -in smime.p12 -nocerts -out smime.key

    • You will be asked for the Import password, which is the password to the p12 file.
    • Then, you need to enter a password to protect the exported private key. This password is what we will fill in the plugin setting.
    • Enter twice to confirm it.
  • Export the public key: openssl pkcs12 -in smime.p12 -clcerts -nokeys -out smime.crt

    • You will be asked for the Import password, which is the password to the p12 file.
  • Export the certificate chain: openssl pkcs12 -in smime.p12 -cacerts -nokeys -out certchain.pem

    • You will be asked for the Import password, which is the password to the p12 file.

Set correct permission

After uploading the seperated key files to your server, you have to set correct permission to each file. * Private key: chmod 640 smime.key * Public key: chmod 644 smime.crt * Certificate chain: chmod 644 certchain.pem

Plugin settings

Install and activate the plugin, the setting page will appear on the left, with a sheild icon.

What you need to do is filling the path and password fields, click Save, and everything is OK.

You can use the Email Send Test function in your SMTP plugin to test it.

The options will be deleted automatically after uninstalling the plugin.

使用者評論

2026 年 7 月 30 日 1 則留言
It's an excellent plugin for a single operator like myself, sending signed mail from my website. It works too with my SMTP plugin, FluentSMTP. Suggestion: I would like to be able to send encrypted email from my website to my admin address using the S/MIME protocol. This way, in my case, messages sent to me by users through various forms on my website will be end-to-end encrypted.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈S/MIME Email Signing〉的開發相關工作。

參與者

將〈S/MIME Email Signing〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial release.