Dear developers =)
Glassfish 4.0 worked just fine for me on Linux, but I couldn't get
Derby to start, so now I am trying with Glassfish 4.1.
However when I run "asadmin --user admin change-admin-password" it
fails with a certificate error, which can be seen at the bottom of
this email.
This is what I am doing
asadmin start-domain
asadmin --user admin change-admin-password
asadmin enable-secure-admin
asadmin stop-domain
cat /opt/glassfish4/glassfish/domains/domain1/logs/server.log
asadmin start-domain -w
Even though it fails I can access the admin interface on
localhost:4848 but not on example.com:4848. Login always fails.
server.log can be seen at
<
https://drive.google.com/file/d/0BznvfbAbXQRPaXVTeTdDYmJpRUk/view?usp=sharing>
QUESTION
Can anyone figure out, why "asadmin --user admin change-admin-password" fails?
Hugs,
Jasmine =)
spawn asadmin --user admin change-admin-password
Enter the admin password>
Enter the new admin password>
Enter the new admin password again>
[
[
Version: V3
Subject: CN=localhost, OU=GlassFish, O=Oracle Corporation, L=Santa
Clara, ST=California, C=US
Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11
Key: Sun RSA public key, 2048 bits
modulus: 19016962123073818913980587828837922486576420141613590721707437891327039833432551153803083906839156766507774007880420863368627703049499522525030078369904284618227297420407350669314980277911425446307700
8350837688587630785792956919810471296955165695513346536207721952385962065519721256618032847681762214817721215286726323086673248758278918017748010310212440058401247918137391052916276268304634126521009472395064189
48577875286315103270404232934705194347849152036735770668664880970935638976368368387912487716546355239785885758256691359924727187516306879956018711242524702651771632411566014598382402754461656354400636380993
public exponent: 65537
Validity: [From: Thu Aug 21 13:30:10 UTC 2014,
To: Sun Aug 18 13:30:10 UTC 2024]
Issuer: CN=localhost, OU=GlassFish, O=Oracle Corporation, L=Santa
Clara, ST=California, C=US
SerialNumber: [ 31eb8d9f]
Certificate Extensions: 1
[1]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 13 55 DB 7D A9 31 71 A3 33 40 56 D3 49 A9 77 42 .U...1q.3_at_V.I.wB
0010: 90 A3 59 39 ..Y9
]
]
]
Algorithm: [SHA256withRSA]
Signature:
0000: 07 E5 F1 96 38 CE 55 33 1C 65 A5 5A 38 90 EB 98 ....8.U3.e.Z8...
0010: 59 A1 AE 19 5F BF 5F 53 BE CF 36 54 2F 03 5D 5E Y..._._S..6T/.]^
0020: 9D 21 3C DC CC C9 A1 5E E0 0B 71 31 36 CE 3A DB .!<....^..q16.:.
0030: BB 78 40 ED 5B FB 0A F0 E6 01 5A C3 29 CD 0B E1 .x@.[.....Z.)...
0040: A1 0D A9 99 ED D8 28 78 DA 1B 2F 15 25 46 85 D8 ......(x../.%F..
0050: B3 8F E7 79 0F EF 37 6A 55 06 E0 2D 0C 67 F3 60 ...y..7jU..-.g.`
0060: 46 AB C2 F5 AC 70 5E 9F 3C EF E3 33 61 34 C4 F9 F....p^.<..3a4..
0070: CB 5A 83 10 82 E5 DA F3 15 1D 28 B2 F9 DE 53 F0 .Z........(...S.
0080: 10 72 79 48 BA B4 AC EC 49 16 92 D8 A6 48 B5 A7 .ryH....I....H..
0090: 3A 6F 37 15 02 F4 66 66 94 8C 82 2C 57 7A 45 04 :o7...ff...,WzE.
00A0: 33 31 F6 9B 7C 6A 04 B0 0A 01 8E 8E B9 31 9E 9A 31...j.......1..
00B0: AC 53 F7 CB 38 F6 E5 DB 86 FF F2 D8 39 77 34 47 .S..8.......9w4G
00C0: 5F 7F EC F3 37 79 08 EB 59 B5 90 3F D9 7E E8 70 _...7y..Y..?...p
00D0: C3 F4 DD 17 EC B4 19 D0 08 26 7E CB 64 46 17 B8 .........&..dF..
00E0: 08 D8 A7 99 1E CF F1 2B 79 86 F1 22 6F C4 05 94 .......+y.."o...
00F0: E1 4F E1 64 E4 F0 47 8D 95 95 08 4F FE F9 60 E4 .O.d..G....O..`.
]
Do you trust the above certificate [y|N] -->y
Authentication failed for user: admin (Usually, this means invalid
user name and/or password)
Command change-admin-password failed.