Self-signed SSL certificate

Got a question about our NAS utilities? The answer lies within.
Post Reply
Bughunter
Posts: 3
youtube meble na wymiar Warszawa
Joined: Sat Mar 25, 2017 5:53 pm

Self-signed SSL certificate

Post by Bughunter »

Hello, just getting started with my new 3104, ADM version 2.7.0.RF72.

When trying to import a self-signed SSL certificate I keep getting "invalid certificate ref 5041". I only use the NAS on my private network with no external access. Generation looks like this:

ssh-keygen -f private.key
openssl req -new -key private.key -out certificate.csr
openssl x509 -req -days 3650 -in certificate.csr -signkey private.key -out certificate.crt

I tried a few different version including using the IP for common name, all with the same result. What could I be doing wrong?
And what does the ref 5041 mean?
sksbir
Posts: 395
Joined: Tue Aug 25, 2015 9:23 pm

Re: Self-signed SSL certificate

Post by sksbir »

hello
in 2015, I performed successfully to import a key on my NAS. I had to concatenate private and public key in same file, and then import this file.
file I imported on NAS was in the form:

Code: Select all

-----BEGIN RSA PRIVATE KEY-----
.....
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----
It was the concatenation of a .key and a .crt file.
Bughunter
Posts: 3
Joined: Sat Mar 25, 2017 5:53 pm

Re: Self-signed SSL certificate

Post by Bughunter »

I tried this as well as some other combinations but had no luck. In the web gui there are separate upload boxes for key and cert so it really does look like they should be separate files.
sksbir
Posts: 395
Joined: Tue Aug 25, 2015 9:23 pm

Re: Self-signed SSL certificate

Post by sksbir »

yep, you are right. Probably brought with a later version of ADM than I used in 2015. I suggest you to open a case to asustor support.
Post Reply

Return to “NAS Utilities”