problems generating certificate

Having difficulties when installing the system? Your system runs slowly and requires some tweaking? You can get help here.
Post Reply
User avatar

Topic author
imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

problems generating certificate

Post by imiller » Mon Feb 12, 2024 11:32 am

OpenVMS V9.2-2 (upgraded from V9.2-1)
OpenVMS SSL3 and SSL111 installed

I'm wanting to generate a self-signed certificate for use with WEBUI on my OpenVMS x86 test system.
The release notes for WEBUI pointed to this page https://github.com/civetweb/civetweb/bl ... OpenSSL.md for instructions how to do this.
For the first command in the instructions

Code: Select all

 $ openssl genrsa -des3 -out server.key 2048
or any openssl command I try I get

Code: Select all

%DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
As far as I can tell from online documentation, the above is a valid command. i'm logged in as system and parse style is set to extended.

I guess I'm doing something wrong as I'm not familiar with the openssl commands, but I don't know what.
Last edited by imiller on Mon Feb 12, 2024 11:32 am, edited 1 time in total.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

User avatar

m_detommaso
Valued Contributor
Posts: 75
Joined: Thu Jun 06, 2019 6:57 am
Reputation: 0
Location: Brindisi (Italy)
Status: Offline
Contact:

Re: problems generating certificate

Post by m_detommaso » Mon Feb 12, 2024 12:31 pm



system_dirac_opa0 > sho sys/noproc
OpenVMS V9.2-2 on node DIRAC 12-FEB-2024 18:20:22.34 Uptime 0 00:04:17

system_dirac_opa0 > product sho product *ssl*
------------------------------------ ----------- ---------
PRODUCT KIT TYPE STATE
------------------------------------ ----------- ---------
VSI X86VMS SSL111 V1.1-1W Full LP Installed
VSI X86VMS SSL3 V3.0-12 Full LP Installed
------------------------------------ ----------- ---------
2 items found


system_dirac_opa0 > set proc/pars=ext
system_dirac_opa0 > @ssl111$com:ssl111$utils
system_dirac_opa0 > sho sym openssl
OPENSSL == "$SSL111$EXE:OPENSSL"

system_dirac_opa0 > openssl genrsa -des3 -out server_ssl111.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
..............................................................................+++++
................................+++++
e is 65537 (0x010001)
Enter pass phrase for server.key:
Verifying - Enter pass phrase for server.key:

system_dirac_opa0 > dir server_ssl111.key/date

Directory SYS$SYSDEVICE:[kits]

server_ssl111.key;1 12-FEB-2024 18:19:15.86

Total of 1 file.


<->


system_dirac_opa0 > @ssl3$com:ssl3$utils
system_dirac_opa0 > sho sym openssl
OPENSSL == "$SSL3$EXE:OPENSSL"

system_dirac_opa0 > openssl genrsa -des3 -out server_ssl3.key 2048
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:

system_dirac_opa0 > dir server_ssl3.key/date

Directory SYS$SYSDEVICE:[kits]

server_ssl3.key;1 12-FEB-2024 18:22:15.93

Total of 1 file.


I hope this helps,
/Maurizio
Last edited by m_detommaso on Tue Feb 13, 2024 10:12 am, edited 2 times in total.

User avatar

Topic author
imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: problems generating certificate

Post by imiller » Tue Feb 13, 2024 10:49 am

thanks, @ssl3$com:ssl3$utils was just what I was missing.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

Post Reply