How to use S/MIME and PGP Keys
Moderator: crythias
How to use S/MIME and PGP Keys
Dear all,
I am new user of OTRS 5s and i don't know how to use S/MIME and PGP keys for email encryption at all.
Moreover i'm also have a very little knowledge of system admin.
Please help me with this.
Thank in advanced.
I am new user of OTRS 5s and i don't know how to use S/MIME and PGP keys for email encryption at all.
Moreover i'm also have a very little knowledge of system admin.
Please help me with this.
Thank in advanced.
yours truly
Re: How to use S/MIME and PGP Keys
Hi,
http://otrs.github.io/doc/manual/admin/ ... area-smime
if you have no (or little) experience I would strongly recommend to get professional support. Encryption is not easy and needs to be setup properly.
S/MIME and PGP is 99% configuration with openSSL and backend linux configuration. OTRS "uses" this config, only.
Regards
Florian
http://otrs.github.io/doc/manual/admin/ ... area-smime
if you have no (or little) experience I would strongly recommend to get professional support. Encryption is not easy and needs to be setup properly.
S/MIME and PGP is 99% configuration with openSSL and backend linux configuration. OTRS "uses" this config, only.
Regards
Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
Re: How to use S/MIME and PGP Keys
Did you read the admin manual (http://doc.otrs.org). Also for using S/Mime and PGP a deeper level of linux knowledge is needed.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: How to use S/MIME and PGP Keys
Hi,
May i call you Florian?
I tried PGP keys generated and used in otrs sysConfig then sent mail to customer.
Customer receive Encrypted mail with PGP Key but i don't know how to Decrypte to read the mail.
PGP keys generated in server is using the command: gpg --gen-key
May i call you Florian?
I tried PGP keys generated and used in otrs sysConfig then sent mail to customer.
Customer receive Encrypted mail with PGP Key but i don't know how to Decrypte to read the mail.
PGP keys generated in server is using the command: gpg --gen-key
yours truly
Re: How to use S/MIME and PGP Keys
jojo wrote:Did you read the admin manual (http://doc.otrs.org). Also for using S/Mime and PGP a deeper level of linux knowledge is needed.
Hi JoJo,
Thanks for your suggestion and i followed the instructions by otrs manaul.
But i am confused which one is more secure and easy to use.
yours truly
Re: How to use S/MIME and PGP Keys
wurzel wrote:Hi,
http://otrs.github.io/doc/manual/admin/ ... area-smime
if you have no (or little) experience I would strongly recommend to get professional support. Encryption is not easy and needs to be setup properly.
S/MIME and PGP is 99% configuration with openSSL and backend linux configuration. OTRS "uses" this config, only.
Regards
Florian
Hi,
May i call you Florian?
I tried PGP keys generated and used in otrs sysConfig then sent mail to customer.
Customer receive Encrypted mail with PGP Key but i don't know how to Decrypte to read the mail.
PGP keys generated in server is using the command: gpg --gen-key
yours truly
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: How to use S/MIME and PGP Keys
You won't be able to read the email if you only created one certificate. How this (very very roughly) works is:
- A user or firm (let's call them Alice!) has a private / public pair and sends you the public key
- You (let's call you Bob!) created a private / public pair and send the public one to the user
To talk encrypted with Alice, you will now encrypt Emails with THEIR public key. Alice then can use THEIR private key to decrypt them.
Vica versa, if Alice want's to talk to you, Alice will encrypt the mail with YOUR public key, and you can then decrypt it with YOUR private key.
- A user or firm (let's call them Alice!) has a private / public pair and sends you the public key
- You (let's call you Bob!) created a private / public pair and send the public one to the user
To talk encrypted with Alice, you will now encrypt Emails with THEIR public key. Alice then can use THEIR private key to decrypt them.
Vica versa, if Alice want's to talk to you, Alice will encrypt the mail with YOUR public key, and you can then decrypt it with YOUR private key.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: How to use S/MIME and PGP Keys
RStraub wrote:You won't be able to read the email if you only created one certificate. How this (very very roughly) works is:
- A user or firm (let's call them Alice!) has a private / public pair and sends you the public key
- You (let's call you Bob!) created a private / public pair and send the public one to the user
To talk encrypted with Alice, you will now encrypt Emails with THEIR public key. Alice then can use THEIR private key to decrypt them.
Vica versa, if Alice want's to talk to you, Alice will encrypt the mail with YOUR public key, and you can then decrypt it with YOUR private key.
Thanks for your reply.
Obviously,it is very good explanation.
Please help me out this.
I configured, OTRS admin uses PGP key generated(public key) is upload and OTRS customer upload that(same)public key on the same sever.
Is it right?or wrong?
Or have OTRS admin and OTRS customer separate private keys?If so,how to get OTRS customer private and public keys.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: How to use S/MIME and PGP Keys
Well, as for OTRS, you will need to upload it's private key (but never send the private one out).
Then send the public one to the customer who wants to send you encrypted mails.
Likewise you will need the public key from the customer and upload that one to OTRS.
If you want to create a second key pair, try this command on a linux server:
This should create you two files: ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa
The key without file-extension is your private key.
Then send the public one to the customer who wants to send you encrypted mails.
Likewise you will need the public key from the customer and upload that one to OTRS.
If you want to create a second key pair, try this command on a linux server:
Code: Select all
ssh-keygen -b 4096
The key without file-extension is your private key.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: How to use S/MIME and PGP Keys
RStraub wrote:Well, as for OTRS, you will need to upload it's private key (but never send the private one out).
Then send the public one to the customer who wants to send you encrypted mails.
Likewise you will need the public key from the customer and upload that one to OTRS.
If you want to create a second key pair, try this command on a linux server:This should create you two files: ~/.ssh/id_rsa.pub and ~/.ssh/id_rsaCode: Select all
ssh-keygen -b 4096
The key without file-extension is your private key.
I can't add another key pair in otrs.



I added PGP private key in OTRS admin and public key in OTRS customer.
Please see the following figures.
I receive encrypt email sent from OTRS but i don't the step how to read the email(I mean decrypt email).
The other issues is OTRS receive ticket sent from email is not encrypt.
You do not have the required permissions to view the files attached to this post.
yours truly
Re: How to use S/MIME and PGP Keys
zin wrote:RStraub wrote:Well, as for OTRS, you will need to upload it's private key (but never send the private one out).
Then send the public one to the customer who wants to send you encrypted mails.
Likewise you will need the public key from the customer and upload that one to OTRS.
If you want to create a second key pair, try this command on a linux server:This should create you two files: ~/.ssh/id_rsa.pub and ~/.ssh/id_rsaCode: Select all
ssh-keygen -b 4096
The key without file-extension is your private key.
I can't add another key pair in otrs.![]()
![]()
![]()
I added PGP private key in OTRS admin and public key in OTRS customer.
Please see the following figures.
I receive encrypt email sent from OTRS but i don't the step how to read the email(I mean decrypt email).
The other issues is OTRS receive ticket sent from email is not encrypt.
I followed the steps of "Secure Email with PGP" contents in otrs admin book.
what's wrong with my setting.

I am confused gmail setting or should i use other mail client?
yours truly
Re: How to use S/MIME and PGP Keys
Hi,
the screenshot shows OTRS Business Solution Skin. Why not ask xxx?
Flo
the screenshot shows OTRS Business Solution Skin. Why not ask xxx?
Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
Re: How to use S/MIME and PGP Keys
wurzel wrote:Hi,
the screenshot shows OTRS Business Solution Skin. Why not ask xxx?
Flo
Sorry for being late reply.
I used managed otrs site for testing new features and will expire within 30 days.
yours truly
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: How to use S/MIME and PGP Keys
You should always test the same system/version you'll use later and can afford. Or do you know all differences?zin wrote: I used managed otrs site for testing new features and will expire within 30 days.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: How to use S/MIME and PGP Keys
root wrote:You should always test the same system/version you'll use later and can afford. Or do you know all differences?zin wrote: I used managed otrs site for testing new features and will expire within 30 days.
Hi Roy,
Thanks for your suggestion.
yours truly
Re: How to use S/MIME and PGP Keys
zin wrote:root wrote:You should always test the same system/version you'll use later and can afford. Or do you know all differences?zin wrote: I used managed otrs site for testing new features and will expire within 30 days.
Hi Roy,
Thanks for your suggestion.
Why not crypt on?
Do i need to more configures and please light me up how to do.
You do not have the required permissions to view the files attached to this post.
yours truly
Re: How to use S/MIME and PGP Keys
It is not OTRS 5s
it is just used my testing OTRS 5.0.14
it is just used my testing OTRS 5.0.14
yours truly
Re: How to use S/MIME and PGP Keys
As RStraub wrote:
It seems that there is no private key for OTRS sender address available. You should contact your support contact at OTRS group for further supportRStraub wrote:You won't be able to read the email if you only created one certificate. How this (very very roughly) works is:
- A user or firm (let's call them Alice!) has a private / public pair and sends you the public key
- You (let's call you Bob!) created a private / public pair and send the public one to the user
To talk encrypted with Alice, you will now encrypt Emails with THEIR public key. Alice then can use THEIR private key to decrypt them.
Vica versa, if Alice want's to talk to you, Alice will encrypt the mail with YOUR public key, and you can then decrypt it with YOUR private key.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com