New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting certificate expired errors #93

Closed
Ravi-t opened this Issue Aug 16, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@Ravi-t

Ravi-t commented Aug 16, 2018

I downloaded the next-epc today and after compilation when I tried to start, I am getting below errors

[root@nextepc-dev nextepc]# ./test/testepc
PID[28500] : '/home/root/git/nextepc/install/var/run/nextepc-epcd/pid'
File Logging : '/home/root/git/nextepc/install/var/log/nextepc/nextepc.log'
MongoDB URI : 'mongodb://mongodb/nextepc'
Configuration : '/home/root/git/nextepc/install/etc/nextepc/nextepc.conf'
[08/16 14:08:39.366] ERRR: - The certificate is expired. (fd_init.c:116)
[08/16 14:08:39.366] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.366] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.469] ASSERT: !(ret == 0). (pcrf_fd_path.c:15)
[08/16 14:08:39.469] ASSERT: !(rv == CORE_OK). Failed to intialize PCRF (epc.c:57)
[08/16 14:08:39.489] ERRR: - The certificate is expired. (fd_init.c:116)
[08/16 14:08:39.489] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.489] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.592] ASSERT: !(ret == 0). (pgw_fd_path.c:1021)
[08/16 14:08:39.592] ASSERT: !(rv == CORE_OK). Failed to intialize PGW (epc.c:105)
[08/16 14:08:39.674] ERRR: - The certificate is expired. (fd_init.c:116)
[08/16 14:08:39.674] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.674] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/16 14:08:39.776] ASSERT: !(ret == 0). (hss_fd_path.c:682)
[08/16 14:08:39.776] ASSERT: !(rv == CORE_OK). Failed to intialize HSS (epc.c:207)
[08/16 14:08:40.010] ERRR: - The certificate is expired. (fd_init.c:116)
[08/16 14:08:40.010] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/16 14:08:40.011] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/16 14:08:40.113] ASSERT: !(ret == CORE_OK). (mme_fd_path.c:1100)
[08/16 14:08:40.113] ASSERT: !(rv == CORE_OK). Failed to intialize MME (epc.c:240)
[08/16 14:08:40.113] ERRR: app_initialize() failed (basic/testutil.c:84)
[08/16 14:08:40.115] ERRR: 1 not freed in mutex_pool[512] (unix/mutex.c:24)
[08/16 14:08:40.120] ERRR: 4 not freed in pkbuf_pool[256] (unix/pkbuf.c:88)
[08/16 14:08:40.120] ERRR: 4 not freed in clbuf_pool[256] (unix/pkbuf.c:94)
[08/16 14:08:40.120] ERRR: 2 not freed in cluster128_pool[256] (unix/pkbuf.c:100)
[08/16 14:08:40.120] ERRR: 2 not freed in cluster256_pool[256] (unix/pkbuf.c:106)
[08/16 14:08:40.120] ERRR: 2 not freed in sock_node_pool[512] (unix/socket.c:53)
[08/16 14:08:40.120] ERRR: 9 not freed in mutex_pool[512] (unix/mutex.c:24)
[08/16 14:08:40.120] ERRR: 16 not freed in pkbuf_pool[256] (unix/pkbuf.c:88)
[08/16 14:08:40.120] ERRR: 16 not freed in clbuf_pool[256] (unix/pkbuf.c:94)
[08/16 14:08:40.120] ERRR: 12 not freed in cluster128_pool[256] (unix/pkbuf.c:100)
[08/16 14:08:40.120] ERRR: 4 not freed in cluster256_pool[256] (unix/pkbuf.c:106)
[08/16 14:08:40.120] ERRR: 2 not freed in sock_node_pool[512] (unix/socket.c:53)
[08/16 14:08:40.120] ERRR: 8 not freed in mutex_pool[512] (unix/mutex.c:24)
[08/16 14:08:40.120] ERRR: 2 not freed in pkbuf_pool[256] (unix/pkbuf.c:88)
[08/16 14:08:40.120] ERRR: 2 not freed in clbuf_pool[256] (unix/pkbuf.c:94)
[08/16 14:08:40.120] ERRR: 2 not freed in cluster128_pool[256] (unix/pkbuf.c:100)
[08/16 14:08:40.120] ERRR: 2 not freed in mutex_pool[512] (unix/mutex.c:24)

@giuliol

This comment has been minimized.

Show comment
Hide comment
@giuliol

giuliol Aug 16, 2018

just run sh make_certs.sh . from support/freeDiameter

giuliol commented Aug 16, 2018

just run sh make_certs.sh . from support/freeDiameter

@Ravi-t

This comment has been minimized.

Show comment
Hide comment
@Ravi-t

Ravi-t Aug 16, 2018

Thanks...it worked

Ravi-t commented Aug 16, 2018

Thanks...it worked

@Ravi-t Ravi-t closed this Aug 16, 2018

@Ravi-t

This comment has been minimized.

Show comment
Hide comment
@Ravi-t

Ravi-t Aug 17, 2018

BTW, I generated the certificates yesterday and it started workibg but today again I got the error and regenerated the certificates but its not working, I am also getting error while generating certificate

PID[30278] : '/home/root/git/nextepc/install/var/run/nextepc-hssd/pid'
File Logging : '/home/root/git/nextepc/install/var/log/nextepc/nextepc.log'
MongoDB URI : 'mongodb://mongodb/nextepc'
Configuration : '/home/root/git/nextepc/install/etc/nextepc/nextepc.conf'
[08/17 10:35:38.020] HSS try to initialize
[08/17 10:35:38.024] ERRR: - The certificate is expired. (fd_init.c:116)
[08/17 10:35:38.024] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/17 10:35:38.024] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/17 10:35:38.024] freeDiameter[6]: Initiating freeDiameter shutdown sequence (1)

sh-4.2# sh make_certs.sh .
Generating a 1024 bit RSA private key
..++++++
.....++++++
writing new private key to 'cakey.pem'

Generating RSA private key, 1024 bit long modulus
........++++++
.++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = mme.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
37:FB:E6:55:96:2E:65:D8:70:68:DD:4B:85:36:8E:4D:00:07:C6:FD
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

Generating RSA private key, 1024 bit long modulus
.............++++++
..++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = hss.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
2C:82:A2:7A:C8:39:1E:78:62:05:5E:D2:26:08:58:D4:A8:40:86:39
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2
Generating RSA private key, 1024 bit long modulus
......++++++
.........................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pgw.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
45:E0:5A:3E:10:EC:6E:67:5D:16:F0:F7:44:B9:7F:01:1A:B1:E3:FA
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

Generating RSA private key, 1024 bit long modulus
.++++++
......++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pcrf.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
8B:16:3F:DC:36:12:B7:9D:C2:CA:CB:48:88:B2:4D:56:DD:FF:D6:5D
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

Ravi-t commented Aug 17, 2018

BTW, I generated the certificates yesterday and it started workibg but today again I got the error and regenerated the certificates but its not working, I am also getting error while generating certificate

PID[30278] : '/home/root/git/nextepc/install/var/run/nextepc-hssd/pid'
File Logging : '/home/root/git/nextepc/install/var/log/nextepc/nextepc.log'
MongoDB URI : 'mongodb://mongodb/nextepc'
Configuration : '/home/root/git/nextepc/install/etc/nextepc/nextepc.conf'
[08/17 10:35:38.020] HSS try to initialize
[08/17 10:35:38.024] ERRR: - The certificate is expired. (fd_init.c:116)
[08/17 10:35:38.024] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/17 10:35:38.024] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/17 10:35:38.024] freeDiameter[6]: Initiating freeDiameter shutdown sequence (1)

sh-4.2# sh make_certs.sh .
Generating a 1024 bit RSA private key
..++++++
.....++++++
writing new private key to 'cakey.pem'

Generating RSA private key, 1024 bit long modulus
........++++++
.++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = mme.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
37:FB:E6:55:96:2E:65:D8:70:68:DD:4B:85:36:8E:4D:00:07:C6:FD
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

Generating RSA private key, 1024 bit long modulus
.............++++++
..++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = hss.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
2C:82:A2:7A:C8:39:1E:78:62:05:5E:D2:26:08:58:D4:A8:40:86:39
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2
Generating RSA private key, 1024 bit long modulus
......++++++
.........................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pgw.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
45:E0:5A:3E:10:EC:6E:67:5D:16:F0:F7:44:B9:7F:01:1A:B1:E3:FA
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

Generating RSA private key, 1024 bit long modulus
.++++++
......++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4104 (0x1008)
Validity
Not Before: Aug 17 10:31:20 2018 GMT
Not After : Aug 17 10:31:20 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pcrf.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
8B:16:3F:DC:36:12:B7:9D:C2:CA:CB:48:88:B2:4D:56:DD:FF:D6:5D
X509v3 Authority Key Identifier:
keyid:C6:8B:5C:0A:B6:79:25:4D:DD:53:0E:E3:9C:3C:3E:42:D1:6E:61:7C

Certificate is to be certified until Aug 17 10:31:20 2019 GMT (365 days)
failed to update database
TXT_DB error number 2

@Ravi-t

This comment has been minimized.

Show comment
Hide comment
@Ravi-t

Ravi-t Aug 17, 2018

I deleted the pki/CA directory and created the certificates again, this time cerificate generation was successful, however I am still unable to run nextepc demons

sh-4.2# sh make_certs.sh .
Generating a 1024 bit RSA private key
...++++++
......++++++
writing new private key to 'cakey.pem'

Generating RSA private key, 1024 bit long modulus
..............++++++
...............................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4096 (0x1000)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = mme.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
9A:9F:32:21:3A:C1:51:E3:67:15:C6:33:21:D6:6F:36:7C:4C:41:7A
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
.....++++++
.....................................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4097 (0x1001)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = hss.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
00:8E:32:AA:7B:E9:D9:70:E3:4F:67:C0:6A:97:90:18:70:1E:08:01
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
...............++++++
.................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4098 (0x1002)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pgw.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
05:B2:39:48:2B:2A:03:3F:0B:48:62:8C:45:22:05:DD:94:DD:6C:8D
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
..........................++++++
...++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4099 (0x1003)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pcrf.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
FD:26:C1:A1:B2:66:03:33:E7:F5:68:3B:08:6D:64:F6:E5:35:C3:86
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
sh-4.2# pwd
/home/root/git/nextepc/support/freeDiameter
sh-4.2# cd ../..
sh-4.2# ./nextepc-hssd
NextEPC daemon v0.3.9 - Aug 16 2018 14:05:21

[08/17 10:48:21.331] WARN: pid file /home/root/git/nextepc/install/var/run/nextepc-hssd/pid overwritten -- Unclean shutdown of previous NextEPC run? (application.c:113)
PID[30447] : '/home/root/git/nextepc/install/var/run/nextepc-hssd/pid'
File Logging : '/home/root/git/nextepc/install/var/log/nextepc/nextepc.log'
MongoDB URI : 'mongodb://mongodb/nextepc'
Configuration : '/home/root/git/nextepc/install/etc/nextepc/nextepc.conf'
[08/17 10:48:21.340] HSS try to initialize
[08/17 10:48:21.345] ERRR: - The certificate is expired. (fd_init.c:116)
[08/17 10:48:21.345] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/17 10:48:21.345] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/17 10:48:21.345] freeDiameter[6]: Initiating freeDiameter shutdown sequence (1)
[08/17 10:48:21.447] ASSERT: !(ret == 0). (hss_fd_path.c:682)
[08/17 10:48:21.447] ERRR: Failed to intialize HSS (hss.c:34)
[08/17 10:48:21.447] FATL: NextEPC initialization failed. Aborted (main.c:152)
[08/17 10:48:21.447] HSS try to terminate
[08/17 10:48:21.447] HSS terminate...done
[08/17 10:48:21.447] DB-Client try to terminate
[08/17 10:48:21.447] DB-Client terminate...done
[08/17 10:48:21.448] ERRR: 1 not freed in mutex_pool[512] (unix/mutex.c:24)

Ravi-t commented Aug 17, 2018

I deleted the pki/CA directory and created the certificates again, this time cerificate generation was successful, however I am still unable to run nextepc demons

sh-4.2# sh make_certs.sh .
Generating a 1024 bit RSA private key
...++++++
......++++++
writing new private key to 'cakey.pem'

Generating RSA private key, 1024 bit long modulus
..............++++++
...............................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4096 (0x1000)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = mme.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
9A:9F:32:21:3A:C1:51:E3:67:15:C6:33:21:D6:6F:36:7C:4C:41:7A
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
.....++++++
.....................................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4097 (0x1001)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = hss.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
00:8E:32:AA:7B:E9:D9:70:E3:4F:67:C0:6A:97:90:18:70:1E:08:01
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
...............++++++
.................++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4098 (0x1002)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pgw.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
05:B2:39:48:2B:2A:03:3F:0B:48:62:8C:45:22:05:DD:94:DD:6C:8D
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
Generating RSA private key, 1024 bit long modulus
..........................++++++
...++++++
e is 65537 (0x10001)
Using configuration from /etc/pki/tls/openssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 4099 (0x1003)
Validity
Not Before: Aug 17 10:48:07 2018 GMT
Not After : Aug 17 10:48:07 2019 GMT
Subject:
countryName = KO
stateOrProvinceName = Seoul
organizationName = NextEPC
organizationalUnitName = Tests
commonName = pcrf.localdomain
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
FD:26:C1:A1:B2:66:03:33:E7:F5:68:3B:08:6D:64:F6:E5:35:C3:86
X509v3 Authority Key Identifier:
keyid:A9:2B:65:9E:80:75:82:DE:DA:5F:C1:D8:E8:18:E5:96:6D:2B:1E:B6

Certificate is to be certified until Aug 17 10:48:07 2019 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
sh-4.2# pwd
/home/root/git/nextepc/support/freeDiameter
sh-4.2# cd ../..
sh-4.2# ./nextepc-hssd
NextEPC daemon v0.3.9 - Aug 16 2018 14:05:21

[08/17 10:48:21.331] WARN: pid file /home/root/git/nextepc/install/var/run/nextepc-hssd/pid overwritten -- Unclean shutdown of previous NextEPC run? (application.c:113)
PID[30447] : '/home/root/git/nextepc/install/var/run/nextepc-hssd/pid'
File Logging : '/home/root/git/nextepc/install/var/log/nextepc/nextepc.log'
MongoDB URI : 'mongodb://mongodb/nextepc'
Configuration : '/home/root/git/nextepc/install/etc/nextepc/nextepc.conf'
[08/17 10:48:21.340] HSS try to initialize
[08/17 10:48:21.345] ERRR: - The certificate is expired. (fd_init.c:116)
[08/17 10:48:21.345] ERRR: ERROR: in '((fd_conf_parse()))' : Invalid argument (fd_init.c:116)
[08/17 10:48:21.345] ERRR: ERROR: in '(fd_core_parseconf(conffile))' : Invalid argument (fd_init.c:116)
[08/17 10:48:21.345] freeDiameter[6]: Initiating freeDiameter shutdown sequence (1)
[08/17 10:48:21.447] ASSERT: !(ret == 0). (hss_fd_path.c:682)
[08/17 10:48:21.447] ERRR: Failed to intialize HSS (hss.c:34)
[08/17 10:48:21.447] FATL: NextEPC initialization failed. Aborted (main.c:152)
[08/17 10:48:21.447] HSS try to terminate
[08/17 10:48:21.447] HSS terminate...done
[08/17 10:48:21.447] DB-Client try to terminate
[08/17 10:48:21.447] DB-Client terminate...done
[08/17 10:48:21.448] ERRR: 1 not freed in mutex_pool[512] (unix/mutex.c:24)

@Ravi-t Ravi-t reopened this Aug 17, 2018

@acetcom

This comment has been minimized.

Show comment
Hide comment
@acetcom

acetcom Aug 17, 2018

Owner

Did you copy new *.pem files to your installed directory?

sh-4.2# pwd
/home/root/git/nextepc/support/freeDiameter
sh-4.2# cp *.pem /home/root/git/nextepc/install/etc/nextepc/freeDiameter
sh-4.2# cd ../..
sh-4.2# ./nextepc-hssd
Owner

acetcom commented Aug 17, 2018

Did you copy new *.pem files to your installed directory?

sh-4.2# pwd
/home/root/git/nextepc/support/freeDiameter
sh-4.2# cp *.pem /home/root/git/nextepc/install/etc/nextepc/freeDiameter
sh-4.2# cd ../..
sh-4.2# ./nextepc-hssd
@Ravi-t

This comment has been minimized.

Show comment
Hide comment
@Ravi-t

Ravi-t Aug 17, 2018

Thanks it started working.

Ravi-t commented Aug 17, 2018

Thanks it started working.

@Ravi-t Ravi-t closed this Aug 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment