How to remove extended properties from a PEM certificate

book

Article ID: 178581

calendar_today

Updated On:

Products

Mobility Suite

Issue/Introduction

 

Resolution

1.  Open the certificate in a text editor and remove everything before and after the -----BEGIN CERTIFICATE----- and ------END CERTIFICATE----- lines.

For example:
#vi sign.crt

2.  Save the file.

Note: If preparing an ssl certificate for Symantec Mobility, enter the following into the terminal, as root:
 /etc/init.d/httpd restart

Tip: Quick guide to vi:
i à Insert
Esc key à End insert mode and returns to command mode which allows the below two commands:
:q! à Colon followed by q! quits without making any changes.
:wq à Colon followed by wq writes and quits, saving changes.

 

Attachments