When having multiple Mac machines running Highpoint RocketRaid controllers and the HPT Web RAID Management software v1.68, results in having multiple copies of an identical self-signed /usr/share/hpt/hptsvr.pem ssl server certificate.

$ openssl x509 -text -in /usr/share/hpt/hptsvr.pem -issuer
        Version: 3 (0x2)
        Serial Number: 0 (0x0)
        Signature Algorithm: md5WithRSAEncryption
        Issuer: C=US, ST=California, L=Fremont, O=HighPoint Technologies, Inc., OU=HPT, CN=, CN=localhost, CN=mac.local, CN=
            Not Before: Sep  5 17:38:59 2011 GMT
            Not After : Sep  2 17:38:59 2021 GMT
        Subject: C=US, ST=California, L=Fremont, O=HighPoint Technologies, Inc., OU=HPT, CN=, CN=localhost, CN=mac.local, CN=
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (512 bit)
                Modulus (512 bit):
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            Netscape Cert Type:
                SSL Server
            Netscape Comment:
                HighPoint Technologies, Inc.
            Netscape SSL Server Name:
            Netscape SSL Server Name:
            Netscape SSL Server Name:
            Netscape SSL Server Name:
    Signature Algorithm: md5WithRSAEncryption
issuer= /C=US/ST=California/L=Fremont/O=HighPoint Technologies, Inc./OU=HPT/CN=

The result is that newer versions of Firefox - like v30 - are only able to open the first instance of such a self signed certificate, and access to each other copy - running on a different hostname - is blocked with this message: sec_error_reused_issuer_and_serial.

The Apple Certificate Assistant located at /System/Library/CoreServices/Certificate Assistant.app fails to create a correct certificate for the Highpoint SSL web server.

My first try is to use the Apple "Certificate Assistant" application. However its generated self signed certificate doesn't work (no https connection within 30 seconds). When comparing the Highpoint cert versus Apple generated cert, the differences are "Signature Algorithm: sha256WithRSAEncryption" and "X509v3 Subject Alternative Name" (Apple), versus "Signature Algorithm: md5WithRSAEncryption" (Highpoint) and deprecated Netscape extensions like "Netscape Cert Type: SSL Server", "Netscape Comment: HighPoint Technologies, Inc." and two times the "Netscape SSL Server Name:" and "Netscape SSL Server Name: localhost" and "Netscape SSL Server Name: mac.local" (Highpoint).

How to create a unique self-signed certificate replacing Highpoint's default .pem on Mac OS X 10.7 (Lion) preferably on the command line?

1 Answer 1


When having created overlapping or re-use hostnames/ip addresses, resulting in the sec_error_reused_issuer_and_serial error, delete the built-in certificate using terminal:

$ sudo rm -v /usr/share/hpt/hptsvr.pem

And restart the raidman-httpsd daemon using this command:

$ sudo systemStarter restart raidman

A new .pem file based on a matching hostname and ip address will be created on the first https request.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .