Opened 3 years ago

Last modified 3 years ago

#7224 assigned defect

REST server key file contains private key on Mac ARM64

Reported by: Tom Goddard Owned by: Zach Pearson
Priority: moderate Milestone:
Component: Web Services Version:
Keywords: Cc: Greg Couch, Eric Pettersen
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The rest_server bundles generates a server.pem self-signed certificate using OpenSSL. On ARM64 Mac the file includes a private key and certificate, and on Intel Mac it only contains the certificate. Should fix this so the files are the same, probably leaving out the private key.

I guess the ARM54 openssl command in bundles/rest_server/Makefile has different default options on ARM64 Mac vs Intel Mac. Weird. Not sure which file is correct. Seems like probably the private key should not be in the file (does not seem too "private" since we distribute it).

Noticed this difference when trying to make a Mac universal build ticket #7222.

Change History (1)

comment:1 by Tom Goddard, 3 years ago

This is Conrad code. Probably Zach knows best what the ChimeraX REST server does with this key, so assigning to Zach.

Note: See TracTickets for help on using tickets.