如何运行 nhttp.exe 加密码?

How to run nhttp.exe with password?

我想创建 .bat 文件,必须调用 nhttp.exe 并将我的 password.But noone 命令放入此 .exe 文件。

nhttp.exe 'my-pass'
nhttp.exe|'my-pass'
'my-pass'|nhttp.exe
nhttp.exe<fileWithpass.txt

[2388:0002-4180] The ID file being used is: C:\Program Files 
(x86)\IBM\Notes\myFileId.id 
[2388:0002-4180] Enter password (press the Esc key to abort):

对于 XPage,Domino Designer 的本地 nhttp 与服务器的 nhttp 不同。如果您正在进行开发,请在本地安装 Domino 服务器。这是最佳实践,也是我与 IBM 合作一年多来获得 Domino 的 non-production 许可的原因,这是现在可通过社区服务器许可获得的许可。可以在 Thomas Hampel 的博客 post https://blog.thomashampel.com/blog/tomcat2000.nsf/dx/v10.0.1-has-arrived.htm. There is also the IBM Docker image which can be used to run a Domino server in Docker for Windows https://github.com/IBM/domino-docker.

底部找到社区服务器的链接(一个单独的包,但 code-set 与完整服务器相同)

只是给你一个解决方案(虽然安装本地开发服务器是更好的主意,正如 Paul 所建议的):

您可以 nhttp.exe 使用不同的 notes.ini 并使用 password-less ID 文件

nhttp.exe =/path/to/notes-nhttp.ini

(斜线取决于你的OS)

在 INI 文件中,您可以通过更改以下参数来设置不同的 Notes ID:

KeyFileName=/path/to/notes-nhttp.id