facing issue in sha512 self - signed certificate

Mark Hack markhack at markhack.com
Thu Apr 22 14:35:26 UTC 2021


You will need to be a lot more specific - this works fine

openssl s_client -connect localhost:443 | openssl x509 -noout -text
Can't use SSL_get_servername
depth=0 C = US, ST = TX, L = Somewhere, O = MarkHack, OU = Test, CN =
fakeserver.com
verify error:num=18:self signed certificate
verify return:1
depth=0 C = US, ST = TX, L = Somewhere, O = MarkHack, OU = Test, CN =
fakeserver.com
verify return:1
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
5d:72:e6:0c:24:3f:97:7f:66:09:f6:a5:f7:f8:96:95:ed:cb:26:59
Signature Algorithm: sha512WithRSAEncryption
Issuer: C = US, ST = TX, L = Somewhere, O = MarkHack, OU = Test, CN =
fakeserver.com
Validity
Not Before: Apr 22 14:22:50 2021 GMT
Not After : Apr 22 14:22:50 2022 GMT
Subject: C = US, ST = TX, L = Somewhere, O = MarkHack, OU = Test, CN =
fakeserver.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (4096 bit)
Modulus:
00:b8:c0:72:0e:81:ec:49:fd:6d:06:c2:15:1c:a7:
....
cf:5c:cb
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier: 
7A:E4:80:D6:86:BF:03:BE:3C:16:C6:99:B7:66:BE:CE:52:F7:96:F2
X509v3 Authority Key Identifier: 
keyid:7A:E4:80:D6:86:BF:03:BE:3C:16:C6:99:B7:66:BE:CE:52:F7:96:F2

X509v3 Basic Constraints: critical
CA:TRUE
Signature Algorithm: sha512WithRSAEncryption
27:1e:c7:f4:7a:7e:43:39:1f:3d:8b:08:94:67:bf:9d:e9:38:
....
a5:fb:21:9c:d7:f5:28:67
On Thu, 2021-04-22 at 18:22 +0530, Vadivel P wrote:
> Hi All,
> 
> Looking for the same support of SHA512. Do we have sha512 support in
> any open source ? Please let me know.
> 
> Regards,
> Vadivel
> 
> On Mon, Apr 19, 2021, 13:15 preethi teekaraman <
> preethi.kavi17 at gmail.com> wrote:
> > Hi Openssl,
> > 
> > I'm creating sha512 self signed certificate for establishing
> > connection between client and server(nginx server). 
> > creating separate key, cert for server and root cert for client. 
> > below is the link i followed for cert creation: 
> > https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309
> > 
> > Issue faced : 
> > There's no connection established and we cross-checked error log in
> > server no error observed. 
> > 
> > Openssl version : OpenSSL 1.0.1f 6 Jan 2014
> > 
> > 
> > nginx version: nginx/1.4.6 (Ubuntu)
> > 
> > 
> > OS version 
> > 
> > 
> > No LSB modules are available.
> > 
> > 
> > Distributor ID:    Ubuntu
> > 
> > 
> > Description:       
> > Ubuntu 14.04.5 LTS
> > 
> > 
> > Release:              
> > 14.04
> > 
> > 
> > Codename:        trusty
> > 
> > is there any link or commands to follow while creating cert for
> > sha512. ?
> > 
> > Regards,
> > Preethi Teekaraman.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210422/6b19def0/attachment.html>


More information about the openssl-users mailing list