Vault URL is sealed

Vault is sealed and tried to unseal it but no success using CLI with key 1 & Key2.

  • ran the Unseal procedure successfully receiving the output:
    Sealed false
  • after running the Unseal procedure, checking the status of the Vault using below command we were able to see that the Vault was still Sealed:
    vault status -tls-skip-verify
  • in particular the output we got was the following even after running the Unseal procedure:
    Sealed true
  • and we were not able to enter the Token when opening the Vault URL;

Please take a moment to consider: Have you provided enough information that someone else could reasonably offer assistance?

You have not. Really all you’ve told us is “It doesn’t work.”

Following my previous response you’ve given a little more detail - not that much however, so all I can really suggest is that you check the Vault server logs.

Please expect to need to post detail including full actual commands run, their output, and relevant portions of the server logs, to enable people to help understand a complex problem remotely.

We have performed below steps to unseal the Vault.

please consider that as already reported the actual content of the unsealkey files should be specified instead of unsealkey1_content and unsealkey2_content in the following commands :

vault operator unseal -tls-skip-verify unsealkey1_content

Seal Type shamir
Initialized true
Sealed true
Total Shares 3
Threshold 2
Unseal Progress 0/2
Unseal Nonce n/a
Version 1.7.3

vault operator unseal -tls-skip-verify unsealkey2_content
Seal Type shamir
Initialized true
Sealed false
Total Shares 3
Threshold 2
Version 1.7.3

As reported, after running the provided commands, the Vault is Unsealed:
Sealed false

After that ran the command “vault status” to confirm the status and it’s showing again vault is sealed.
Vault URL is not working and showing the same error message"Unseal".

As you’ve not provided information from the Vault server logs, there is nothing more I am able to say.

Logs from vault server(C:\Program Files\Vault\logs), there is no logs for today’s date

erpass-vaultwriter",“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T00:56:12.135579Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“201e5944-0392-12e0-a105-3252a0a7ad12”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T00:56:12.2201896Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:f40c9b176622b265917fa609e2e9cd4440fa59f5f52f1473a618fa8fc9eca277”,“accessor”:“hmac-sha256:418386b46d9480d634aade27647a3038d26932134f759fae3528b8ab364ec88d”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“201e5944-0392-12e0-a105-3252a0a7ad12”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:f40c9b176622b265917fa609e2e9cd4440fa59f5f52f1473a618fa8fc9eca277”,“accessor”:“hmac-sha256:418386b46d9480d634aade27647a3038d26932134f759fae3528b8ab364ec88d”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T02:26:19.5787605Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“6172c8ee-4479-468b-0d96-d04370570764”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T02:26:19.659341Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:ca9f3752b610bac2ac0065cf52553124ff7bcabc78d652fb684b60731b47154b”,“accessor”:“hmac-sha256:22bade9c065140aa118f4911b57b69d6424e6a917d2e66bd14456c1b40f5fbbb”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“6172c8ee-4479-468b-0d96-d04370570764”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:ca9f3752b610bac2ac0065cf52553124ff7bcabc78d652fb684b60731b47154b”,“accessor”:“hmac-sha256:22bade9c065140aa118f4911b57b69d6424e6a917d2e66bd14456c1b40f5fbbb”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T03:56:34.8417202Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“00e9c796-0d41-4996-3ef4-044784ef03a1”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T03:56:34.9207212Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:28bd6b3e44121282a616a5cf408eee107bcb3a6ed7ea6d21826be2107197cd1a”,“accessor”:“hmac-sha256:276e40929327f9d1b3761064ed94c2c34bc66beaabc51d6d695a1b9eee5add24”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“00e9c796-0d41-4996-3ef4-044784ef03a1”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:28bd6b3e44121282a616a5cf408eee107bcb3a6ed7ea6d21826be2107197cd1a”,“accessor”:“hmac-sha256:276e40929327f9d1b3761064ed94c2c34bc66beaabc51d6d695a1b9eee5add24”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T05:26:31.0412834Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“3e2f32f1-7436-70a7-92f8-1d7e699c1f77”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T05:26:31.1242756Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:eaa13731b1b2ef9c941d6c9b791baf222a44fa5f70f50820fde571e63cf7ee3b”,“accessor”:“hmac-sha256:1625fde8d17ce9b7e903a0f77850bd25300ca1cd44e23f1b3ec01fb2806b0dd2”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“3e2f32f1-7436-70a7-92f8-1d7e699c1f77”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:eaa13731b1b2ef9c941d6c9b791baf222a44fa5f70f50820fde571e63cf7ee3b”,“accessor”:“hmac-sha256:1625fde8d17ce9b7e903a0f77850bd25300ca1cd44e23f1b3ec01fb2806b0dd2”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T06:56:45.6060676Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“609b95f4-c34f-c0b1-ce3a-28412a452dd4”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T06:56:45.6900802Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:e95567787abc5956485f59fcddb2b38b7e7bad1f5aa9fb7e61819c4e38e1e1fd”,“accessor”:“hmac-sha256:47020ea5dd929ad446c3128c92a6567d66b1a1cb8d2881ea407245b6ff1a2ad7”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“609b95f4-c34f-c0b1-ce3a-28412a452dd4”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:e95567787abc5956485f59fcddb2b38b7e7bad1f5aa9fb7e61819c4e38e1e1fd”,“accessor”:“hmac-sha256:47020ea5dd929ad446c3128c92a6567d66b1a1cb8d2881ea407245b6ff1a2ad7”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T08:26:54.1864023Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“b00faf27-4ba3-2754-b06b-831566bb3e18”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T08:26:54.2684097Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:22f08b4bd0aa19450d1a2fb2fb8e1d948e5c9d78a410f32e642f85b2e3540029”,“accessor”:“hmac-sha256:5f8527ca5ef425282163ce09a04464b70a67a8d8b587ddbccd5161027d8dfe21”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“b00faf27-4ba3-2754-b06b-831566bb3e18”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:22f08b4bd0aa19450d1a2fb2fb8e1d948e5c9d78a410f32e642f85b2e3540029”,“accessor”:“hmac-sha256:5f8527ca5ef425282163ce09a04464b70a67a8d8b587ddbccd5161027d8dfe21”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T11:42:13.995153Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“051875ad-3514-1b78-8955-ccae8fcc3176”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T11:42:14.0821584Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:3c76e7a7dba4e1e8df776e0c9e87e73289ce13d4df68f00941d592801ca63079”,“accessor”:“hmac-sha256:a0c103cdeb0eec9f20dfd34f21ad2e865a24fd7e2f6a0c4b231dd67d901817bf”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“051875ad-3514-1b78-8955-ccae8fcc3176”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:3c76e7a7dba4e1e8df776e0c9e87e73289ce13d4df68f00941d592801ca63079”,“accessor”:“hmac-sha256:a0c103cdeb0eec9f20dfd34f21ad2e865a24fd7e2f6a0c4b231dd67d901817bf”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-20T21:12:48.7362381Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“851dc642-7091-ef51-f585-cfbdaf3ddb8a”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-20T21:12:48.8153805Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:2db83fddbeaf22d5bb87a7ee1e5e90c39268bc7a3357cd0f9b9912aa2cb96734”,“accessor”:“hmac-sha256:f5d26879e0f3e7496dd0f2823635dcc715f1858f3287836de92cd7af2de6207f”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“851dc642-7091-ef51-f585-cfbdaf3ddb8a”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:2db83fddbeaf22d5bb87a7ee1e5e90c39268bc7a3357cd0f9b9912aa2cb96734”,“accessor”:“hmac-sha256:f5d26879e0f3e7496dd0f2823635dcc715f1858f3287836de92cd7af2de6207f”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}
{“time”:“2022-05-21T05:28:20.9603756Z”,“type”:“request”,“auth”:{“token_type”:“default”},“request”:{“id”:“7ee2c8c1-ddc0-c3ed-60a6-d88dc9166090”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”}}
{“time”:“2022-05-21T05:28:21.0403772Z”,“type”:“response”,“auth”:{“client_token”:“hmac-sha256:2d4db4a18eb941eb52c9b0de05b7bbc6dae5151191ab93a10dcd86f3dbc4f4f7”,“accessor”:“hmac-sha256:b16c4360e9b10040aec8988e21a45325c43e838ed6950eb0ff6fa3169e1b71f7”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“request”:{“id”:“7ee2c8c1-ddc0-c3ed-60a6-d88dc9166090”,“operation”:“update”,“mount_type”:“userpass”,“namespace”:{“id”:“root”},“path”:“auth/userpass/login/VAULTWRITER”,“data”:{“password”:“hmac-sha256:be1daf12822466de8c546e34575b348cf878eba5edcfab532e4c8af1754ab62f”},“remote_address”:“10.200.162.14”},“response”:{“auth”:{“client_token”:“hmac-sha256:2d4db4a18eb941eb52c9b0de05b7bbc6dae5151191ab93a10dcd86f3dbc4f4f7”,“accessor”:“hmac-sha256:b16c4360e9b10040aec8988e21a45325c43e838ed6950eb0ff6fa3169e1b71f7”,“display_name”:“userpass-vaultwriter”,“policies”:[“bigfix-write”,“default”],“token_policies”:[“bigfix-write”,“default”],“metadata”:{“username”:“vaultwriter”},“entity_id”:“e5217c60-d774-df3a-7d63-2b6a7804da51”,“token_type”:“service”,“token_ttl”:2764800},“mount_type”:“userpass”}}

Thanks Maxb , Please check the given logs and let me know if any more information is required to fix this issue.